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

srt only working if gst debug level is 5 #2445

Open
gorleabhinav opened this issue Aug 25, 2022 · 8 comments
Open

srt only working if gst debug level is 5 #2445

gorleabhinav opened this issue Aug 25, 2022 · 8 comments
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request [third-party] Area: Issues with SRT in third-party projects Type: Bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@gorleabhinav
Copy link

I am facing some weird issue while streaming with srt, I am not sure this issues is related gstreamer or srt library.

Pipeline1:

gst-launch-1.0 --gst-debug=srt*:5 rtspsrc location="rtsp://admin:admin@localhost/live.sdp" short-header=TRUE name=demux demux. ! rtph265depay ! queue ! video/x-h265 ! mpegtsmux name=mux1 ! srtsink uri=srt://:8888 demux. ! queue ! rtpmp4adepay ! aacparse ! mux1.

Pipeline2:

gst-launch-1.0  rtspsrc location="rtsp://admin:admin@localhost/live.sdp" short-header=TRUE name=demux demux. ! rtph265depay ! queue ! video/x-h265 ! mpegtsmux name=mux1 ! srtsink uri=srt://:8888 demux. ! queue ! rtpmp4adepay ! aacparse ! mux1.

Pipeline1 is working:
able to see the video stream on vlc player.

Pipeline2 is not working:
there is no error while playing Pipeline2, but not getiing any video on vlc player.

The difference between pipelines is Pipeline1 has --gst-debug=srt*:5 and Pipeline2 does not has the set debug level.

version details:
gstreamer vesrion: 1.16.2
srt version: 1.5.0

how can we fix this issue ?
any help would be appreciated.

@gorleabhinav gorleabhinav added the Type: Bug Indicates an unexpected problem or unintended behavior label Aug 25, 2022
@maxsharabayko
Copy link
Collaborator

Does VLC show any error in the "messages" window?
Do you see any SRT traffic on the network?

@gorleabhinav
Copy link
Author

VLC does not showing any error in the message window.
For pipeline2: on network I can see only keepalive packets.

@ethouris
Copy link
Collaborator

If so, it means that the connection has been established successfully, but no data are being sent. Hard to speculate what happened, but definitely the call to any srt_send* functions hasn't been done. Could be also messing with the buffer sizes, but I doubt that the gstreamer element is changing default options.

@justinjoy maybe you can help?

@gorleabhinav
Copy link
Author

@ethouris , @justinjoy any update?

@ethouris
Copy link
Collaborator

ethouris commented Sep 8, 2022

Seems like Justin is busy and I don't know how to approach it. Still, I'd look for problems in the sources of the srtsink element. Might be like executing key functions in assert() or something like that.

@gorleabhinav
Copy link
Author

@maxsharabayko maxsharabayko added the [third-party] Area: Issues with SRT in third-party projects label Oct 17, 2022
@maxsharabayko maxsharabayko added this to the Parking Lot milestone Oct 17, 2022
@gorleabhinav
Copy link
Author

@maxsharabayko any update?

@maxsharabayko maxsharabayko added the help wanted Indicates that a maintainer wants help on an issue or pull request label Dec 8, 2022
@maxsharabayko
Copy link
Collaborator

@gorleabhinav No updates. Any help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Indicates that a maintainer wants help on an issue or pull request [third-party] Area: Issues with SRT in third-party projects Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants