Re: [Live-devel] H264 streaming problem

2009-02-25 Thread gather bzbz
Right after I capture the buffer from the hardware and right before I pass the buffer for processing (memmove(fTo)), I write the buffer to a file, that file contains the correct the SPS and PPS. VLC/Mplayer can playback that file without problem. But the file saved by openRTSP does not have SPS

Re: [Live-devel] Newbie: How to create a memory sink

2009-02-25 Thread Ross Finlayson
As a starting point have a look at the FileSink class, the two main steps involved are 1) Inherit from MediaSink 2) Override the virtual afterGettingFrame1(unsigned frameSize, struct timeval presentationTime) Actually, the virtual function to redefine is virtual Boolean continuePlayi

Re: [Live-devel] H264 streaming problem

2009-02-25 Thread gather bzbz
The problem is that special headers called SPS and PPS (sequence parameter set and picture parameter set) are not included in the file. Those headers may be carried in-band (which is probably not your case) or in the SDP. My guess is that your source sent them in the SDP and not in-band (in th

[Live-devel] Newbie: How to create a memory sink

2009-02-25 Thread Ralf Globisch
As a starting point have a look at the FileSink class, the two main steps involved are 1) Inherit from MediaSink 2) Override the virtual afterGettingFrame1(unsigned frameSize, struct timeval presentationTime) method and call your own "addData" like method where you can do whatever it is you ne

[Live-devel] Newbie: How to create a memory sink

2009-02-25 Thread Andy Bell
Hi, I am new to Live555, I just built it today! What I would like to do with it is to connect to an RTSP server and stream the frame data into my own codec and render objects. I have had a look at OpenRTSP and everything looks pretty easy to set up a stream but I can't seem to work out how to ge

Re: [Live-devel] Problem with RTSPServer::RTSPClientSession::incomingRequestHandler1() and SET_PARAMETER & GET_PARAMETER

2009-02-25 Thread Matt Schuckmann
Am I correct in assuming that all RTSP requests must start with a alpha character? I'm trying to do some simple validation and ignoring of garbage that might come across the RTSP TCP socket and I'm thinking that if we are waiting to receive the start of a new RTSP request we can throw away an

Re: [Live-devel] Receiving Audio Data from Client While Streaming Out Media Stream

2009-02-25 Thread Ross Finlayson
Is it possible to extend testOnDemandRTSPServer for having a media session receiving audio data from remote client? No. Our software is not set up to support full-duplex communication. For that, you should use some other software that supports SIP, not RTSP. -- Ross Finlayson Live Networks,

Re: [Live-devel] QuickTime Broadcaster, Axis Network Cameras and Live555

2009-02-25 Thread Ross Finlayson
I've noticed some interesting / aggravating behavior using live555 as included in VLC to record rtsp audio streams Although VLC uses our software to receive RTSP/RTP streams, it does not use our software to *write* files from the incoming stream data. Therefore, if you have problems with VLC's

Re: [Live-devel] Streaming from network source

2009-02-25 Thread Ross Finlayson
Please excuse me, if this questions is rather simple. I wondered whether there is something already implemented in Live555 to stream video not from a file but from a network socket. Currently I looked at the code, starting with the testOnDemandRTSPServer and I came to the conclusion (following t

[Live-devel] Receiving Audio Data from Client While Streaming Out Media Stream

2009-02-25 Thread Wong Shuen Kong
Hi all, Is it possible to extend testOnDemandRTSPServer for having a media session receiving audio data from remote client? We would like to use this to accomplish duplex audio transmission on existing RTSP server which using live555 media library instead of adding another daemon process/task on

[Live-devel] CPU load for live555mediaServer

2009-02-25 Thread Anna Richter
Hi everybody! I use the live555mediaServer for Streaming a MPEG1 Video Stream to two receivers. My question concerns the CPU load connected with this server. When starting the server and streaming the requested video live555mediaServer needs about 5% of the CPU. While streaming, the server is i

[Live-devel] Streaming from network source

2009-02-25 Thread Michael Braitmaier
Hello everyone! Please excuse me, if this questions is rather simple. I wondered whether there is something already implemented in Live555 to stream video not from a file but from a network socket. Currently I looked at the code, starting with the testOnDemandRTSPServer and I came to the concl