Re: [Live-devel] [patch] make live555 playback h.264 RTSP streams from Foscam IP cameras

2012-09-13 Thread Daniel Peng
On Thu, Sep 13, 2012 at 7:34 PM, Ross Finlayson wrote: > FYI, you don't need to use VLC to test "RTSP-over-HTTP". Our "openRTSP" > demo application can also be used for > this. (Note the "-T " option.) Thank you for the quick response! This is a very helpful

Re: [Live-devel] [patch] make live555 playback h.264 RTSP streams from Foscam IP cameras

2012-09-13 Thread Ross Finlayson
> 1. On an OPTIONS request, the server returns HTTP 501 (Unimplemented) > but omits the Cseq. Liblivemedia erroneously matched this to the POST > request rather than the OPTIONS request. To fix this, don't enqueue > POST requests in fRequestsAwaitingResponse. Thanks. I've just installed a new v

[Live-devel] [patch] make live555 playback h.264 RTSP streams from Foscam IP cameras

2012-09-13 Thread Daniel Peng
Hi folks, I have a Foscam h.264 IP camera with a very strange RTSP-over-HTTP server, and I wanted to get VLC to play it back. There are two basic issues: 1. On an OPTIONS request, the server returns HTTP 501 (Unimplemented) but omits the Cseq. Liblivemedia erroneously matched this to the POST r

Re: [Live-devel] about rtsp client.

2012-09-13 Thread Ross Finlayson
> I use live555 as server, I want to create a RTSP client on one > PC(PC_a),and receive the RTP/RTCP data on another(PC_b).How can I do? There is a way in the RTSP protocol to do this: specify the intended receiver (PC_b)'s IP address as a destination=; parameter in a "Transport:"

Re: [Live-devel] regardint every rtp packet's timestamp is same

2012-09-13 Thread Ross Finlayson
> And the AudioFrameSource main code is like this: > void AudioFrameSource::doGetNextFrame() > { > > CamerManager::GetInstance()->GetAudioFrame(“test”,(char*)fTo,fMaxSize,&fFrameSize,&fNumTruncatedBytes); > fPresentationTime.tv_sec=usec/1000; > fPresentationTime.tv_usec = usec%1000; > usec+=2

[Live-devel] Live stream receiving problem

2012-09-13 Thread Ketan Gholap
Hello Sir! I have created RTSPServer application. In this application server receives live stream from a Live media Streamer application which in turn get steam from digital camera. my .net web application creates a socket connection and RTSP session with RTSPserver. After that my .net applic

[Live-devel] about rtsp client.

2012-09-13 Thread ...
Hi,all. I use live555 as server, I want to create a RTSP client on one PC(PC_a),and receive the RTP/RTCP data on another(PC_b).How can I do? I see the RTSP Interaction??I think I should to tell LIVE555 the IP of PC_b in "SETUP" stage to achieve the goal. But I don't know how to do it?

[Live-devel] 答复: regardint every rtp packet's timestamp is same

2012-09-13 Thread 梦幻工作室
My createNewStreamSource code is like this: { estBitrate = 64; return new AudioFramedSource(envir(),”test”); } And the AudioFrameSource main code is like this: void AudioFrameSource::doGetNextFrame() { CamerManager::GetInstance()->GetAudioFrame(“test”,(char*)fTo,fMaxSize,&fFr ameSize,&

Re: [Live-devel] regardint every rtp packet's timestamp is same

2012-09-13 Thread Ross Finlayson
> I used live555 to stream g711, My code is like this: > RTPSink* AudioOnDemandMediaSubsession::createNewRTPSink(Groupsock* > rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic, FramedSource* > inputSource) > { >char const* mimeType=”PCMU”; > unsigned char payloadFormatCode=0; > int

[Live-devel] regardint every rtp packet's timestamp is same

2012-09-13 Thread 梦幻工作室
I used live555 to stream g711, My code is like this: RTPSink* AudioOnDemandMediaSubsession::createNewRTPSink(Groupsock* rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic, FramedSource* inputSource) { char const* mimeType=”PCMU”; unsigned char payloadFormatCode=0; int sampleFreque