Re: [Live-devel] Re-connection handling

2012-09-17 Thread Erlandsson, Claes P (CERLANDS)
This is the first time you've mentioned an exception. (Previously, you said just that the stream failed to reconnect afterwards.) I've attached a modified version of our "testRTSPClient.cpp" demo application. It starts playing the specified stream - as usual - but then, after 60 seconds, send

Re: [Live-devel] H264VideoStreamFramer

2012-09-17 Thread Ross Finlayson
>>> If you find the reason why the resulting Transport Stream file (from >>> "testH264VideoToTransportStream") is unplayable by these players, then >>> please let us know. (There may be something that we can do to our code >>> to overcome this.) >>> >> >> mplayer spews out this >> >> FPS not

Re: [Live-devel] H264VideoStreamFramer

2012-09-17 Thread malc
On Sun, 16 Sep 2012, malc wrote: > On Sat, 15 Sep 2012, Ross Finlayson wrote: > > > > Yes it's playable with vlc (and ffplay as mentioned), doesn't make it > > > any less un-playable with PS3 and mplayer though. > > > > If you find the reason why the resulting Transport Stream file (from > > "t

[Live-devel] 答复: Regarding the audio and video sync

2012-09-17 Thread 梦幻工作室
I get the time by gettimeofday, and they are equal in the video and audio’s stream. 发件人: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] 代表 Ross Finlayson 发送时间: 2012年9月17日 16:08 收件人: LIVE555 Streaming Media - development & use 主题: Re: [Live-devel] Regarding the audi

Re: [Live-devel] Check for client is still active

2012-09-17 Thread Ross Finlayson
> As far as I understand to check the client ‘connection’ still active I need > to use some scheduled function, like checkForPacketArrival() in > playCommon.cpp (openRTSP) – check the client still received the packets. If > no data is coming I need to add/accumulate delay in every scheduled call

[Live-devel] Check for client is still active

2012-09-17 Thread Звягинцев Антон
Hello. As far as I understand to check the client 'connection' still active I need to use some scheduled function, like checkForPacketArrival() in playCommon.cpp (openRTSP) - check the client still received the packets. If no data is coming I need to add/accumulate delay in every scheduled call an

Re: [Live-devel] Regarding the audio and video sync

2012-09-17 Thread Ross Finlayson
> But unfortunately, I use vlc to access it, it can’t work correctly.If > video is appear, then audio disappears. Otherwise, audio appears, video > disappears. This is probably because the presentation time ("fPresentationTime") values for the audio and video streams are not properly synchr

[Live-devel] Regarding the audio and video sync

2012-09-17 Thread 梦幻工作室
My session has one video and audio stream. In the audio stream’s doGetNextFrame(), I set the fPresentationTime like this: void AudioFrameSource::doGetNextFrame() { CamerManager::GetInstance()->GetAudioFrame(“test”,(char*)fTo,fMaxSize, &fFrameSize,&fNumTruncatedBytes); if (fIsFirstPresentati