<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Q: Is this supported by the Live555 media server libraries?<br>
    A: There is no support, you have to build it in yourself<br>
    <br>
    One of your streams will indeed return a=sendonly, check on that
    string to detect the backchannel MediaSubsession.<br>
    Instead of creating a FramedSource in your MediaSubsession you have
    to create an RTPSink.<br>
    Eventually you will call startPlaying on the sink and then you can
    start sending data into the sink.<br>
    <br>
    You should read the onvif specs first to see how the communication
    must be.<br>
    There is a backchannel section.<br>
    <a class="moz-txt-link-freetext" href="http://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v210.pdf">http://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v210.pdf</a><br>
    <br>
    <br>
    <div class="moz-cite-prefix">Op 02-Jun-16 om 8:42 PM schreef Ben
      Rush:<br>
    </div>
    <blockquote
cite="mid:CANV0r97fohiNfKbJkWiLbHFQKYtmH8jH8JNh2s=ahm1Sueop5A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Fredrick, <br>
        <br>
        Great, thanks for the info, at least. So, as far as the ONVIF
        backchannel stuff is concerned: <br>
        <br>
        I noticed that, per the specification, it requires that one of
        the streams be a=sendonly (for the "backchannel" stream). What
        I'm confused about is this in particular. Is this supported by
        the Live555 media server libraries? To me this means the server
        itself should be receiving streaming content from the client
        (right?), but I don't see anything in the server libraries for
        *receiving* content. <br>
        <br>
        We've had a pretty basic use case up until now, and so some of
        these more advanced server features may have escaped me. But,
        I'm unable to find any way for the server to receive media
        content from a client in the API. <br>
        <br>
        Thanks again. </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">On Thu, Jun 2, 2016 at 4:08 AM Frederik De Ruyck
          <<a moz-do-not-send="true"
            href="mailto:frederik.deruyck@vsk.be">frederik.deruyck@vsk.be</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p>No there's no support in LiveMedia yet.</p>
            <p>We have to do the same so I'm implementing it myself atm.
              You can use the RTSP require tag (which is optional) and
              Onvif backchannel (which uses RTSP require).</p>
            <p>I hacked it into someone else his startings: <a
                moz-do-not-send="true"
                href="https://github.com/alb423/live555_20140206"
                target="_blank"><a class="moz-txt-link-freetext" href="https://github.com/alb423/live555_20140206">https://github.com/alb423/live555_20140206</a></a></p>
            <p>I won't post my modifications to this github project
              because the project is quite sloppy and it got worse
              because I hard coded a lot of things.<br>
            </p>
            <p>I had to add RTSP require fields everywhere it was still
              missing in the project (take a look at
              RTSPClient::setRequestFields, modify every command if it's
              backchannel related, add require to it)</p>
            <p>The project uses UDP btw, I don't have it working with
              tcp yet.<br>
            </p>
            <p>You will have to learn how LiveMedia works to get it done
              anyhow.<br>
            </p>
            <br>
            <div>Op 01-Jun-16 om 9:09 PM schreef Ben Rush:<br>
            </div>
          </div>
          <div bgcolor="#FFFFFF" text="#000000">
            <blockquote type="cite">
              <div dir="ltr">We have built a RTSP streaming server using
                Live555's server libraries: <br>
                <br>
                ....<br>
                RTSPServer* rtspServer =
                RTSPServer::createNew(*usageEnvironment,
                StreamingOptions::PortNumber, NULL);<br>
                ....
                <div><br>
                </div>
                <div>And so on. Works like a charm and we're very happy
                  with it. What we're needing now is a solution for
                  two-way audio, meaning we have a camera viewing a room
                  and we'd like a person in the room and the person
                  viewing the room to be able to talk with one another.
                  To reduce overhead we'd like to enable the audio to be
                  duplex, so it shares the same channel (much like
                  VOIP). I'm quite certain but I thought I'd ask:
                  there's no support for this in RTSP and therefore no
                  support for duplex audio in Live555's server
                  libraries, correct? <br>
                  <br>
                  <br>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <br>
            </blockquote>
          </div>
          <div bgcolor="#FFFFFF" text="#000000">
            <blockquote type="cite">
              <pre>_______________________________________________
live-devel mailing list
<a moz-do-not-send="true" href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a>
<a moz-do-not-send="true" href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          live-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
          <a moz-do-not-send="true"
            href="http://lists.live555.com/mailman/listinfo/live-devel"
            rel="noreferrer" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
live-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a>
<a class="moz-txt-link-freetext" href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>