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
UDPSourcerRelay.tar.gz
Description: GNU Zip compressed data
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel