[Live-devel] Relaying a unicast stream.

Mark Woodard mwoodard at mutualink.net
Mon Oct 30 09:31:35 PDT 2017


Thanks, Ross. Yes, my class OurRelaySink is derived from BasicUDPSink, and
it's only method is CreateNew (just to hide the mess of creating the
socket).

My problem was this:
In the testRelay sample, the output Groupsock was created on the stack, so
I created mine on the stack. Of course, that only works if you never leave
that method, like the testRelay sample. Perhaps some words of warning in a
comment is called for?

Anyway, once I created the socket on the heap, my program worked with no
errors. However, the code at the destination address does not recognize
anything playable. I was under the impression that the testRelay sample
*was* relaying the data as RTP/UDP. I'm pretty sure that's what the
destination expects.

So should I be using the Proxy Server instead?
___________________________________________________
Mark Woodard

Mutualink, Inc.
313 S Jupiter
Allen, TX 75002

Toll Free: (866) 957-5465 Ext: 508
Direct: (972) 200-5020
E-Mail: mwoodard at mutualink.net <employeer at mutualink.net>

Web: www.mutualink.net

*Certified by the Department of Homeland Security SAFETY Act for
Interoperable Communications*

The information in this email, and subsequent attachments, may contain
confidential information that is intended solely for the attention and use
of the named addressee(s). This message or any part thereof must not be
disclosed, copied, distributed or retained by any person without
authorization from the addressee.

Visit Mutualink at the following social media sites:

<http://www.twitter.com/MutualinkInc>
<http://www.facebook.com/Mutualink>
<http://www.linkedin.com/company/mutualink>
The information in this email, and subsequent attachments, may contain
confidential information that is intended solely for the attention and use
of the named addressee(s). This message or any part thereof must not be
disclosed, copied, distributed or retained by any person without
authorization from the addressee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20171030/070b80f9/attachment.html>


More information about the live-devel mailing list