> Hallo, I would like to modify testRelay.cpp to receive udp live input and > then rtsp to be output (rtsp://xxx.xxx.xxx.xxx:4444), otherwise udp to udp > relay work excellent but I want toforward in the RTSP so that others can see, > If you can show me I am a beginner in this ?!
Yes, you can do this; however, "testRelay" is not the best application to use as a starting point, because most of the functionality of your new application will be in the RTSP server. Therefore, I suggest that you instead use "testOnDemandRTSPServer" as a model. For information on how to adapt this to use a UDP stream as a data source, see http://www.live555.com/liveMedia/faq.html#liveInput-unicast As noted in the FAQ, you will need to define your own subclass of "OnDemandServerMediaSubsession, and redefine the "createNewStreamSource()" virtual function. This is where you would use the "testRelay" code as a guide. Your subclass's "createNewStreamSource()" virtual function can be quite simple - basically just creating a "groupsock" for your IP multicast address, and then creating a "BasicUDPSource" using that "groupsock" object. Ross Finlayson Live Networks, Inc. http://www.live555.com/
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel