-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Audio only streams don't work ERROR: wrong interleaved IDs #402
Comments
Hello, this is caused by the fact that Larix uses ids 2 and 3 to stream audio:
While the server requires ids 0 and 1 for the first stream. Technically, Larix is right, since a stream can use any interleaved id, and they shouldn't be constrained. |
Hello. I also have this error. My stream: gst-launch-1.0 videotestsrc ! clockoverlay halignment=right valignment=top text="SERVER h264 " shaded-background=true font-desc="Sans, 36" ! videoconvert ! videoscale ! video/x-raw,format=I420 ! x264enc tune=zerolatency bitrate=500 speed-preset=ultrafast ! h264parse ! queue ! s.sink_0 audiotestsrc ! audio/x-raw,width=16,depth=16,rate=44100,channels=1 ! queue ! audioconvert ! audioresample ! voaacenc ! aacparse ! queue ! s.sink_1 rtspclientsink name=s location=rtsp://localhost:8554/mystream/test/264 on server: How can I solve this problem? |
I have just hit this problem as well, the RTSP Client is the Motorola/IndigoVision CCTV Viewing Software. I checked the RFCs for what is included in the SETUP command from client to rtsp server. It says
It also includes the example with Interleaved as 4 and 5. I had a look at what I wrote in the C# code in SharpRTSP here on Github. So should be a simple fix. |
For logs, here is Wireshark from IndigoVision to simple-rtsp-client DESCRIBE rtsp://127.0.0.1:8554/transcode RTSP/1.0 RTSP/1.0 200 OK v=0 SETUP rtsp://127.0.0.1:8554/transcode/trackID=0 RTSP/1.0 |
linked to bluenviron/gortsplib#47 |
Hi, is there any update on this issue? Thanks! |
fixed in main, will be available in the next release. |
added in v0.16.4 |
This issue is being locked automatically because it has been closed for more than 6 months. |
v0.16.0
Which operating system are you using?
OS
Describe the issue
When using audio only rtsp streams, the server won't relay them.
Describe how to replicate the issue
Send audio only rtsp stream.
See attached logs.
audio_only_log.txt
The text was updated successfully, but these errors were encountered: