Re: Issue with WebRTC data channels
Anton Pryima via gstreamer-devel <[email protected]> Mon, 15 Jan 2024 00:47:49 +0200
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <CAKaSWJx9XXGVDVztDorR9csO2GDh5K5V0MBj7f-5LprDATa65g@mail.gmail.com> |
Hello Ben. Which version of Gstreamer are you using? It was an issue with data channels some time ago. Best regards, Anton. On Sun, Jan 14, 2024 at 1:33 AM Benjamin Greenwood via gstreamer-devel < [email protected]> wrote: > Hello, > > I successfully run and modify to my liking the WebRTC sendrecv example > here: > > https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/webrtc?ref_type=heads > > However, I am having an issue with data channels. > When I use the webrtc-sendrecv process (unmodified) with the JavaScript > example, data channels open and the browser and executable talk to each > other: "Hi! (from Gstreamer)" and "Hi! (from browser)" > > However, when I run two webrtc-sendrecv executables, they are able to pass > media to each other and CREATE data channels, but the data channels never > OPEN - no on-open signal ever fires and if I try to send a message at any > point through send_channel, I get "webrtc_data_channel_send_string: > assertion 'channel->opened' failed". > > I would appreciate any advice! I believe the answer must be in the way the > executable handles negotiation vs. the Javascript example, but I don't know > how to debug into those issues. > > - Ben >