BogdanovKirill / RtspClientSharp

Pure C# RTSP client for .NET Standard without external dependencies and with true async nature. I welcome contributions.
MIT License
706 stars 284 forks source link

SimpleRtspPlayer - Should audio work? #82

Open toby11 opened 4 years ago

toby11 commented 4 years ago

I am testing the SimpleRtspPlayer under vs2017, video works fine but should audio work?

I am using a rtsp feed that works with audio in VLC. I have debugged it and I can see the audio frames being decoded but nothing gets played?

toby11 commented 4 years ago

sorry I see this issue

https://github.com/BogdanovKirill/RtspClientSharp/issues/35

says its not currently impliemented, any pointers on whats required? From debugging it appears that the audio is being decoded by ffmpeg so I assume I just need to send the decoded bytes to a something like NAudio to play them? or as its already decoded is it simpler than that?