[Live-devel] Stream and Receive H264 video using the same UDP Groupsock

Samer Al Hakim samer.alhakim at keynote-sigos.com
Thu Jun 25 02:17:57 PDT 2015


Hello Ross,

I appreciate your quick response.

What I am exactly trying to do is to simulate a RTP session for bidirectional video telephony (using H.264 codec) which means I would need a single UDP socket that sends and receives RTP data simultaneously (using the same IP address and local port number).

Best regards,
Samer

On 06/25/2015 10:56 AM, Ross Finlayson wrote:
Using the example "testH264VideoStreamer.cpp" provided by the live library, I would like to create one UDP Groupsock that streams and receives H264 RTP data in parallel.

I would like to know if this target is doable in principle using the live libraries.

You might be able to make that work, but in practice, separate "Groupsock" objects are usually used for receiving and transmitting, so I suggest that you do that instead.

But let's first step back and ask what it is you are trying to do.  It sounds like you want to relay an incoming UDP stream to a different destination.  If that's the case, then I suggest looking at our "testRelay" demo application ("testProgs/testRelay.cpp").

Alternatively, if your incoming stream is accessible via RTSP (i.e., using a "rtsp://"<rtsp://%3F> URL), then I suggest using the "LIVE555 Proxy Server"
http://live555.com/proxyServer/
instead.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




_______________________________________________
live-devel mailing list
live-devel at lists.live555.com<mailto:live-devel at lists.live555.com>
http://lists.live555.com/mailman/listinfo/live-devel



---
SIGOS
testing is our competence

Klingenhofstrasse 50d
D-90411 Nuernberg
Fon +49 911 95168-0
www.keynote-sigos.com<http://www.keynote-sigos.com>

Follow us on: linked.in<http://www.linkedin.com/company/keynote-sigos-gmbh> | xing.com<https://www.xing.com/companies/KEYNOTESIGOSGMBH> | twitter.com<http://twitter.com/keynoteSIGOS> | facebook.com<http://www.facebook.com/keynote.SIGOS>

HRB 9323 Nuernberg
Gerichtsstand: Nuernberg
Geschaeftsfuehrer: Adil Kaya, Jennifer Tejada, David Peterson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150625/dd6659dc/attachment.html>


More information about the live-devel mailing list