Re: [Live-devel] (no subject)

2009-06-15 Thread Woods
Hi, Just want to find out: (1) Are you creating your RTP and RTCP socket as the following? Groupsock rtpGroupsock(*env, destinationAddress, rtpPort, ttl); Groupsock rtcpGroupsock(*env, destinationAddress, rtcpPort, ttl); (2) And are you creating those objects in a function call? If it is

Re: [Live-devel] (no subject)

2009-06-15 Thread wong yeewan
Hi,   First of all, thanks for your reply. I read the reply but i don't know how to make the correction. I checked the Groupsocks' objects defined in RTPSink and RTPSource.cpps and I found that they were defined as pointer objects. For examples,   RTPSource::RTPSource(UsageEnvironment& env, Gro

Re: [Live-devel] (no subject)

2009-06-15 Thread Woods
Hi, I guess you copied from test code as I did before :) It is because of that GroupSock. Don't use as a stack object which will be released after function call. Use a pointer for that GroupSock for RTP and RTCP. Woods On Mon, Jun 15, 2009 at 6:01 PM, wong yeewan wrote: > Hi all, > > I am i

[Live-devel] rtp streaming support for JFIF images

2009-06-15 Thread Alex Solbi
Hi. Does the library support rtp streaming for jpeg JFIF images? When I stream normal jpeg images it's all ok (tried with different header lengths, different qfactor and different types) , but if I stream JFIF ones my player can't decode the received images. thanks, Alex

[Live-devel] (no subject)

2009-06-15 Thread wong yeewan
Hi all,   I am interested to use testMPEG1or2ProgramtoTransportStream to convert a MPEG2 video file into TS file. I selected all the header and source files that were needed to build testMPEG1or2ProgramtoTransportStream. I finally built the testMPEG1or2ProgramtoTransportStream.exe in Visual C++

[Live-devel] one-time streamer

2009-06-15 Thread Woods
Dear experts, I am writing a one-time streamer, according to those test streamers provided in testProgs. My question is how should I deregister streamer (is it sink?) from scheduler, so that I won't get error like "BasicTaskScheduler::SingleStep(): select() fails: Bad file descriptor" after I del