<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Option 2 most likely requires modifying
      webrtcbin to support renegotiation.<br>
      <br>
      Cheers<br>
      -Matt<br>
      <br>
      On 28/03/18 01:27, Alexander Yanin wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPmmiikUR0VqvU0ayANxOFQcj50h-dTrnvdSH+_bqAVH26N3UA@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">I think both
          options can be used, each has its own advantages. In my case
          number of audio tracks greatly varies (from 1 to ~40 or more),
          so option 2 sounds more appropriate because of narrower
          bandwidth and lower cpu usage (no coding and packing of
          unnecessary audio tracks).</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">So, is option 2
          applicable at the moment or it needs webrtcbin updating?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2018-03-27 15:12 GMT+03:00 Matthew
          Waters <span dir="ltr"><<a
              href="mailto:ystreet00@gmail.com" target="_blank"
              moz-do-not-send="true">ystreet00@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div class="m_327245979519269975moz-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
                <div>
                  <div class="h5"><br>
                    <br>
                    On 27/03/18 19:23, Alexander Yanin wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <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="m_327245979519269975mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
gstreamer-devel mailing list
<a class="m_327245979519269975moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" moz-do-not-send="true">gstreamer-devel@lists.<wbr>freedesktop.org</a>
<a class="m_327245979519269975moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" moz-do-not-send="true">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
  </body>
</html>