Thanks Ganesh. 
fileSink->addData(configData, configLen, timeNow); worked and my problem is 
solved. actually my MPEG4 receiver was receiving frames correctly. The problem 
was receiver was unable to write the initial useful information of the stream 
before writing the frames data. After writing the intial data it, everything is 
working properly.

Thanks
K. Masood

Date: Mon, 22 Jun 2009 23:36:05 -0700
From: ganesh_vija...@yahoo.com
To: live-de...@ns.live555.com
Subject: Re: [Live-devel] MPEG4 RTSP Client/Receiver



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

_________________________________________________________________
Windows Liveā„¢: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to