Hi Khalid,

You can refer to the openRTSP example which provides a good starting point for 
the receiver. However, there is a catch. In case of MPEG4, some additional data 
is received initially, which requires to be added to the bitstream. Does your 
application cater to the same? I presume you are using Livemedia for your RTSP 
receiver.

In playCommon.cpp, there is an example implementation for codec name MP4V-ES  
(fileSink->addData(configData, configLen, timeNow);). This should provide you 
with some input pointers.

Thanks,
Ganesh




________________________________
From: Khaliq Masood <kmasoo...@hotmail.com>
To: live-de...@ns.live555.com
Sent: Tuesday, June 23, 2009 11:14:37 AM
Subject: [Live-devel] MPEG4 RTSP Client/Receiver

 Hi Everyone,

I am writing RTSP MPEG4 receiver that can receive a stream from 
"myMPEG4VideoStreamer" over a LAN and save it into file. streamer works fine, 
when i receive the stream from VLC it plays fine. but my receiver could not 
receive it correctly (it is not playable). May be i am able to decode the 
stream properly, how can i decode MPEG4 stream on receiver end. i am using 
RTSPClient and Subsessions in my receiver. please guide me where i am doing 
wrong?


Regards
K. Masood

________________________________
See all the ways you can stay connected to friends and family


      
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to