-
Notifications
You must be signed in to change notification settings - Fork 11
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
OPUS should have two channels in RTSP #63
Comments
It should also work on mono. The issue is that according to https://datatracker.ietf.org/doc/html/rfc7587#section-7 the |
Got it. That's good. |
I don't own a Wyzecam, if you want to try it might be as easy as to hardcode the channel number https://github.com/gtxaspec/prudynt-t/blob/76da861f942fad77fff229618c4442892edbc463/src/IMPAudioServerMediaSubsession.cpp#L81C9-L81C29 and make a custom build to check. Else the issue lies in live555. |
I am confident it will work, but if go2rtc could make it work instead it would be better. |
If the spec allows 1 channel, is this a go2rtc problem? This was on my internal roadmap... |
I have same issue with mediamtx. It can't handle sdp with "OPUS/48000" without channel number. See bluenviron/mediamtx#4046 |
This has been fixed in go2rtc. I think we should close this issue, @gtxaspec. |
Why ignoring the spec that clearly says that channel number must be 2? So go2rtc was compliant with spec and prudynt-t was not. Now both are not compliant. |
It doesn't seem like prudynt is the only one. Check my latest comment in the go2rtc issue. |
Also, we can probably convey it's a good thing that prudynt isn't following this spec. For the sake of data optimization. |
MediaMTX guys refused to do anything with it because they follow the spec and imo it's fair. Spec should be the source of truth otherwise there would be endless incompatibilities. Like Mediamtx and prudynt now. |
Got it. Maybe there should be an option in prudynt for this then. |
http://opus-codec.org/ says that opus can handle both mono and stereo. Where is it mandated that it requires two channels? Here is an excerpt from RFC 6716
|
RFC 7587 section 7 |
right,
I do remember reading this prior. we should comply with the spec. so thanks to go2rtc for making a fix, we'll need to look into fixing this in prudynt the right way too. |
Also there is no need to actually supply two channels in the feed, just in sdp data so no double audio bandwidth. |
This is causing WebRTC playback not to work in go2rtc.
See AlexxIT/go2rtc#1506 (comment)
The text was updated successfully, but these errors were encountered: