[Live-devel] OnDemand MPEG 2 TS UDP source Relay
Achraf Gazdar
achraf.gazdar at gmail.com
Fri Jan 13 01:09:52 PST 2012
Hi,
I have Implemented a new class called
"MPEG2TransportUDPServerMediaSubsession" that handles on demand relaying of
a Basic UDP source transporting MPEG2 TS Video to any client requesting it
through rtsp.
To test it please add the following bloc to testOnDemandRTSPServer:
{
char const* tvServiceName = "tv";
char const* inputAddressStr = "0";//unicast UDP source
Port const inputPort(1234);
unsigned char const inputTTL = 0;
ServerMediaSession* sms
= ServerMediaSession::createNew(*env, tvServiceName, tvServiceName,
descriptionString);
sms->addSubsession(MPEG2TransportUDPServerMediaSubsession::createNew(*env,
inputAddressStr,inputPort,inputTTL,
True));
rtspServer->addServerMediaSession(sms);
announceStream(rtspServer, sms,tvServiceName,tvServiceName);
}
The new class is attached to this email.
Thanks.
--
Achraf Gazdar
Associate Professor on Computer Science
Hana Research Unit, CRISTAL Lab.
http://www.hanalab.org
Tunisia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120113/6c453500/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UDPSourcerRelay.tar.gz
Type: application/x-gzip
Size: 1680 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120113/6c453500/attachment.bin>
More information about the live-devel
mailing list