Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix about bad duration set and add sample with Opus Codec implementation #7

Merged
merged 2 commits into from
May 2, 2022

Conversation

ChristopheI
Copy link
Collaborator

SDL2AudioSource:

  • allow to specify frame size in constructor and use it to dequeue sample from output device.
  • Fix call to OnAudioSourceEncodedSample with invalid duration.

SDL2Helper:

  • add GetAudioRecordingDevice (by index) and GetAudioPlaybackDevice (by index) methods
  • GetAudioSpec now accept a new parameter: sample

CheckCodec example:

  • Implements Opus codec using Concentus C# implementation
  • Permits to test available Codecs (Encoding/Decoding): PCMU, PCMA, G722, G729, Opus

…t to dequeue sample from output device. Fix call to OnAudioSourceEncodedSample with invalid duration.

SDL2Helper: and GetAudioRecordingDevice (by index) and GetAudioPlaybackDevice (by index). GetAudioSpec now accept a new parameter: sample
@ChristopheI ChristopheI merged commit 53f4db1 into sipsorcery-org:main May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant