Skip to content

Add tests for audio #9

Description

@NikolayShakin

Add unit tests for:

  • Resampled audio
  • Long audio
  • Long resampled audio
  • Audio resampled with multiple silence-activity cycles
    In all cases, make sure that the audio cannot be framed evenly (the last frame must not be less than the optimal_frame_size)

Add integration tests for the same scenarios, but capture raw audio from the respective websocket channel on the Asterisk side (probably using ARI application), to make sure we don't cut audio at the beginning and the end of audio chunks(containing multiple audio frames of optimal_frame_size), especially when resampling is done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions