<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Data channel only can work, but a lot
of the data channel cases only work with master at the moment.
Backporting some of the required commits fixes to 1.16 is not
easy.<br>
<br>
e.g. here is a validate scenario that only opens a data channel
and sends some data: <a moz-do-not-send="true"
href="https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/check/validate/scenarios/send_data_channel_string.scenario">https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/check/validate/scenarios/send_data_channel_string.scenario</a><br>
<br>
On 18/7/20 12:09 am, William Gerecke wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACiw32bGpF5aC4ukuKUshG6QpNnjFKf7u-D8odKYF6V_8DRm1g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">I'm still having this problem first posted in
March. I'm using GStreamer webrtcbin to send data over a WebRTC
data channel and all is working well! The only problem is for
the data channel to be established I also need to specify a
dummy audio stream as follows:
<div><br>
</div>
<div>pipe1 = gst_parse_launch("webrtcbin name=sendrecv "<br>
"audiotestsrc is-live=true ! audioconvert ! audioresample !
queue ! opusenc ! rtpopuspay ! "<br>
"queue ! " RTP_CAPS_OPUS "97 ! sendrecv. ", &error);<br>
</div>
<div><br>
</div>
<div>When I try webrtcbin by itself or with a fakesrc instead of
an audio source I can still create the data channel as below
without errors but I never get the "on-open" callback like I
do when an audio source is present.</div>
<div><br>
</div>
<div>g_signal_emit_by_name(webrtc1, "create-data-channel",
"channel", NULL, &send_channel);<br>
if (send_channel) {<br>
g_print("Created data channel\n");<br>
connect_data_channel_signals(send_channel, session);</div>
<div>}<br>
</div>
<div><br>
</div>
<div>So in short - can webrtcbin be configured to work with only
data channels, and if so, what am I missing?</div>
<div><br>
</div>
<div>Bill</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 31, 2020 at 11:30
AM Bill G <<a href="mailto:foatus@hotmail.com"
moz-do-not-send="true">foatus@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div
style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"></div>
<span>Hello,<br>
</span>
<div><br>
</div>
<div>I'm trying to get a webrtcbin running which has data
channels only (i.e. no audio, no video.) I started with
the working sendrecv example and got to the point where I
had a working data-channel with audio only. When I remove
audio the data channels fail to connect - one data channel
is created by GStreamer code, another intiated on the
browser side. <br>
</div>
<div><br>
</div>
<div>I found and example (link below) for only receiving
streams in which the gst_parse_launch() was removed and
one-way transceivers manually added. I read that without
a audio/video sink pad connected the transceivers need to
be manually created. Maybe this is also related to data
channels not functioning?<br>
</div>
<div><br>
</div>
<div><a
href="https://github.com/centricular/gstwebrtc-demos/compare/master...a-morales:figure-out-transceivers?expand=1"
target="_blank" moz-do-not-send="true">https://github.com/centricular/gstwebrtc-demos/compare/master...a-morales:figure-out-transceivers?expand=1</a><br>
</div>
<div><br>
</div>
<span>So, I'm assuming there is something preventing these
data-channels from getting established, and asking how to
get past it?
<span
style="background-color:rgb(255,255,255);display:inline">
This is with everything running on one machine, Windows
and GStreamer 1.16. </span> Thanks in advance!</span>
<div
style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"></div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org"
target="_blank" moz-do-not-send="true">gstreamer-devel@lists.freedesktop.org</a><br>
<a
href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>