Playing audio playlist (multiple files sequentially) in a single SIP call #1500
-
|
Hello, I am using SIP Sorcery in an ASP.NET Core application to establish SIP calls and stream audio using FFmpegFileSource and VoIPMediaSession. Currently I have successfully implemented: • SIP call establishment This works correctly. Now I have a use case for scheduled playback of an audio playlist (multiple audio files that should be played sequentially in the same call). Before implementing any workaround, I wanted to ask: For example: Also for context: My backend (ASP.NET Core) currently controls call setup using SIP Sorcery and streams audio. I would appreciate any guidance on best practices or supported patterns for playlist playback. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
I suspect using the FFmpegFileSource is overkill in this case. Did you spot the AudioExtraSource class and the SendAudioFromStream method? It's pure C#, no FFmpeg binaries required. You will need to convert your audio files into an appropriate format but that's probably be easier than dealing with FFmpeg installs. |
Beta Was this translation helpful? Give feedback.
I suspect using the FFmpegFileSource is overkill in this case. Did you spot the AudioExtraSource class and the SendAudioFromStream method? It's pure C#, no FFmpeg binaries required. You will need to convert your audio files into an appropriate format but that's probably be easier than dealing with FFmpeg installs.