<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi!<br>
<br>
Two options:<br>
<br>
1. Send all the media all the time and switch client side.<br>
2. Selectively send the required stream based on notifications
from the client.<br>
<br>
The ideal choice depends on the bandwidth and switching latency
requirements you need with 1 using more bandwidth and switching is
~instantaneous. 2 uses less bandwidth but switching requires at
least a roundtrip through the signaling.<br>
<br>
2 requires adding some extra signaling for notifying about stream
switches but that is relatively to easy add into the existing
webrtc signaling channel. The current snag is that webrtcbin
still has a very much work-in-progress renegotiation handling
which means that 1 is really the easiest option at the moment. I
would very much like to get 2 working with webrtcbin though.<br>
<br>
Cheers<br>
-Matt<br>
<br>
On 27/03/18 19:23, Alexander Yanin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAPmmiik+PZmOhvys0D_BmdYgBQihbpsUrajeB2qVZ+Z=65tsZw@mail.gmail.com">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Hi! </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I was glad to
know that gstreamer now has its own webrtc implementation.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">My purpose is
to use webrtcbin for live media streaming to multiple clients
(browsers) without receiving any media from them. The streamed
media consists of one video stream and several audio streams.
My purpose is to have a possibility for a client to switch
from one audio track to another. For simplicity, other clients
will also receive the same selected audio track. </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">How this can be
achieved? What is the most correct way to do that? </div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Cheers,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Alex</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
</body>
</html>