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

no audio/video being rendered on client (webrtc) #18

Open
gc-robotics opened this issue Apr 6, 2021 · 3 comments
Open

no audio/video being rendered on client (webrtc) #18

gc-robotics opened this issue Apr 6, 2021 · 3 comments

Comments

@gc-robotics
Copy link

Hi Brett,

I am running this GST pipeline inside ROS - basically, using your pipeline code:

webrtcbin name=sendrecv bundle-policy=max-bundle stun-server=stun://stun.l.google.com:19302
 videotestsrc is-live=true pattern=ball ! videoconvert ! vp8enc deadline=1 ! rtpvp8pay ! queue ! application/x-rtp,media=video,encoding-name=VP8,payload=97 ! sendrecv.
 audiotestsrc volume=0.3 is-live=true wave=red-noise ! audioconvert ! queue ! opusenc ! rtpopuspay ! application/x-rtp, media=(string)audio, payload=(int)111, clock-rate=(int)48000, encoding-name=(string)OPUS, encoding-params=(string)2, minptime=(string)10, useinbandfec=(string)1 ! sendrecv. 

I know that the integration works properly, as I tried to use rosimagesrc/sink etc. with success (I have checked topics and all..)

The pipeline above seems to work, connects to the webrtc server, performs ice exchange, establish a connection with the other peer but, I am not able to see anything on the receiving client.

Could you advise on how I can debug this scenario?
How can I check if the SDP packages are valid, etc.?

Thanks in advance,
GC

@BrettRD
Copy link
Owner

BrettRD commented Apr 12, 2021

There are a few known bugs between what browsers do and what the standards say, I've run into a couple.

Your browser can display a history of the ice exchange, normally it'll tell you if negotiation fails but not always why.

@gc-robotics
Copy link
Author

how can I check if I hit one of those scenarios? Thanks

@BrettRD
Copy link
Owner

BrettRD commented Jun 2, 2021

I'm not a webrtc expert so I won't be much use debugging webrtc, I only have a browser and a compiler.
Your browser should have the best idea of what's going on, you can look that up by typing in the urls about:about and about:webrtc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants