For PIPEs to work the H264VideoRTPSource and the RTSP Server should be in different processes. It will not work if they are in single process as PIPE read or write would be blocking call.
Is there an alternative way to do the same without using linux PIPEs ? In H264VideoFileServerMediaSubsession::createNewStreamSource instead of ByteStreamFileSource can H264VideoRTPSource be used so that I can get live input ? On Tue, Jan 31, 2012 at 8:35 AM, Sambhav <[email protected]> wrote: > Hi Ross, > > Is there an alternative way to do the same without using linux PIPEs ? > > In H264VideoFileServerMediaSubsession::createNewStreamSource instead > of ByteStreamFileSource can H264VideoRTPSource be used so that I can get > live input ? > > Regards, > Sambhav > > On Sun, Jan 29, 2012 at 2:08 PM, Ross Finlayson <[email protected]>wrote: > >> I have an application which uses H264VideoRTPSource class to receive live >> H264 RTP Stream. >> This application should now act as RTSP Server for above H264 Video >> received. >> >> One way I was thinking to do is >> >> - Receive RTP H264 Video using H264VideoRTPSource >> - Dump the H264 elementary video stream using H264VideoFileSink to a >> linux PIPE >> - To the RTSP Server add H264VideoFileServerMediaSubsession with the >> above mentioned linux PIPE as the input >> >> Yes, that should work, I think... >> >> Ross Finlayson >> Live Networks, Inc. >> http://www.live555.com/ >> >> >> _______________________________________________ >> live-devel mailing list >> [email protected] >> http://lists.live555.com/mailman/listinfo/live-devel >> >> >
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
