Re: [Live-devel] multiple instances of live555 library

2009-08-24 Thread Jerry Johns
The LiveMedia library uses the magical world of select(), which allows for monitoring multiple file handle descriptors (or in this case, sockets) to monitor for incoming/outgoing data. By blocking on this select() call, an event loop can process multiple socket handles in a single execution contex

[Live-devel] Getting encoded MP4 data and packet details

2009-08-24 Thread Stas Oskin
Hi. I worked out a basic RTSP client, using MPlayer code as an example. Still, I can't find a way to break-down the received data to packets, and to get both the encoded MP4 data from packet, or/and the packet details (such as the frame resolution, whether the packet is key-frame, etc...). Is th

Re: [Live-devel] multiple instances of live555 library

2009-08-24 Thread Stas Oskin
Hi Ross. You don't do this. Please everybody, read the FAQ! > > The "LIVE555 Streaming Media" software uses an event loop (a single thread > of control) for concurrency, instead of using multiple threads. > Sorry for barging into this thread - an architecture question if I may. I expirirmented w

Re: [Live-devel] Receiver for H.264

2009-08-24 Thread Yedidia Amit
The best way is called OutOfBand during the negotiation (RTSP/SIP), the sneder sends an SDP file. this sdp conatni the sprop-parameter-set. the reciver should get it, decode it (from Base64) and save it in the beginning of the file. From: live-devel-boun...@ns.liv

Re: [Live-devel] Receiver for H.264

2009-08-24 Thread Steve Jiekak
I am now able to compute ,from the source, the profile level and the sprop-parameter-set string (which by the way , is a huuuge string :) ). Can someone explain me again how should the receiver program can get these values and add it to the end file?? Thanks for everything, Steve

[Live-devel] quicktime client for h264

2009-08-24 Thread huang
Hi dear all, I have my own H264VideoStreamFramer and could stream h.264 to VLC and Quicktime. But when Quicktime as client, something was wrong: First, I started the server and Quicktime connected to server, after "PLAY" cmd, server sent data to Quicktime, but Quicktime had no image with increa

[Live-devel] How to judge catch exception while parsing file

2009-08-24 Thread huang
Hi, dear all, I write a H264VideoStreamFramer and H264VideoStreamParser based on H264plusVideoStreamFramer and H264plusVideoStreamParser, when parsing file, sometime the programe catch -- "EXCEPTION (This is normal behavior - *not* an error)", I know it because there are no more data in the bu

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Stas Desyatnlkov
Thanx Amit, just what I thought. It's a pity the samples does not demo the full clean up code for the objects used. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Yedidia Amit Sent: Monday, August 24, 2009 2:27 PM To: LIVE555 Streaming Media - dev

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Yedidia Amit
the answer is yes for both ... From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Stas Desyatnlkov Sent: Monday, August 24, 2009 2:20 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] live obj

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Stas Desyatnlkov
I did this: rtp_sock_ = new Groupsock(*env_, destinationAddress, rtpPort, 10); rtcp_sock_ = new Groupsock(*env_, destinationAddress, rtcpPort, 10); vsink_ = SimpleRTPSink::createNew(*env_, rtp_sock_, 33, 9, "video"

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Yedidia Amit
Thats depends on what you wrote... if you creadted RTSP server you shuld delete it. if there are active sessions in your server you should delete them before deleting the server etc.. From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Stas Desyatnlkov
That is what I'm doing. Will the rest of the objects get disposed too? From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Yedidia Amit Sent: Monday, August 24, 2009 11:57 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] live

Re: [Live-devel] live object delete sequence

2009-08-24 Thread Yedidia Amit
you should call reclaim() on the usageEnviroment, and then delete the task schedualer. pEnv->reclaim(); delete pTaskSchedualer; Amit Yedidia From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Stas Desyatnl

[Live-devel] live object delete sequence

2009-08-24 Thread Stas Desyatnlkov
Hi, In my app I have to create and delete live objects (scheduler, usage environment, rtp sink, rtcp, video source, stremer...) multiple times. What should be the proper delete sequence for the above? Does deleting the usage environment also destroys scheduler? Do I have to delete RTP and RTCP s