Re: [Live-devel] [patch] null check before dereferencing

2008-07-01 Thread Ross Finlayson
Thanks. I'm curious - how are you finding all of these issues/bugs? Are you running some tool (like "valgrind") that reports them, or have you just been inspecting the code by hand? -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___

[Live-devel] [patch] remove unused null check and delete in JPEGVideoRTPSource.cpp

2008-07-01 Thread Erik Hovland
The function JPEGVideoRTPSource has a null check and delete for qtables. But qtables is guaranteed to be null at this point. So the check and the delete are not necessary. --- liveMedia/JPEGVideoRTPSource.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/liveMedia/JPE

[Live-devel] [patch] remove some unused code in qtfilesink

2008-07-01 Thread Erik Hovland
The qt file sink class has some unused code in it. This patch removes it. --- liveMedia/QuickTimeFileSink.cpp |9 - 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/liveMedia/QuickTimeFileSink.cpp b/liveMedia/QuickTimeFileSink.cpp index 6e4c997..29bef25 100644 --- a/live

[Live-devel] [patch] null check before dereferencing

2008-07-01 Thread Erik Hovland
In the member function SIPClient::getResponseCode the pointer nextLineStart might be null when it is assigned to bodyStart, then bodyStart might be used in an equation (where the calculated value will now be off). E --- liveMedia/SIPClient.cpp |2 +- 1 files changed, 1 insertions(+), 1 dele

[Live-devel] Windows media player

2008-07-01 Thread Ratin
Did anybody have any success streaming and playing mpeg4 files streamed via live555's mediaserver? ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] [patch] add name to typedef and reveal function parameter

2008-07-01 Thread Ross Finlayson
Thanks. These fixes (and the ones in your previous message) will be included in the next release of the code. -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.c

[Live-devel] [patch] add name to typedef and reveal function parameter

2008-07-01 Thread Erik Hovland
When using typedef it is not required that the typedef be given a name. But the compiler doesn't have to work as hard if you do. Also, a function parameter can be hidden by a declaration within the function itself. The two attached patches address these problems. E -- Erik Hovland mail: [EMAIL

[Live-devel] [patch] places where unsigned causes code to do nothing

2008-07-01 Thread Erik Hovland
Sometimes the type can do funny things. In this patch using unsigned as a type means that testing against less then zero or >= 0 has no effect. E --- liveMedia/InputFile.cpp |2 +- liveMedia/OnDemandServerMediaSubsession.cpp |2 +- liveMedia/SIPClient.cpp

Re: [Live-devel] Stream errors with MPEG 4 ES

2008-07-01 Thread Kumar Bala (DSP-Weuffen GmbH)
>> Because your input device returns discrete MPEG-4 video frames, rather than a byte stream, it'd be better if you used "MPEG4VideoStreamDiscreteFramer", rather than "MPEG4VideoStreamFramer". That did the trick, I streamed for 30 min without one single error !!! Thanks a ton. Mit freundliche

Re: [Live-devel] client disconnect

2008-07-01 Thread Ross Finlayson
Hi, I would like to be able to let the client survive a 15 second ethernet cable disconnect when streaming over TCP! Where exactly in the code would I have to make modifications to make this happen? I suspect the problem lies with trying to send RTCP packets? No, I suspect the problem lies w

[Live-devel] client disconnect

2008-07-01 Thread Luc Roels
Hi, I would like to be able to let the client survive a 15 second ethernet cable disconnect when streaming over TCP! Where exactly in the code would I have to make modifications to make this happen? I suspect the problem lies with trying to send RTCP packets? best regards, Luc ___

Re: [Live-devel] Stream errors with MPEG 4 ES

2008-07-01 Thread Ross Finlayson
Oops, I omitted a word from my previous answer: I suspect that perhaps the output from your encoder is not in the proper form - i.e., not a true MPEG-4 Video Elementary Stream. If you think this may be true, then please put your "test.m4e" file on a web server, and send us the URL, so we c

Re: [Live-devel] Stream errors with MPEG 4 ES

2008-07-01 Thread Ross Finlayson
I use the testOnDemandRTSPServer to stream live video (captured using an analog camera and encoded to MPEG 4 ES using a co-processor). I use ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my device. I have modified doReadFromFile in such a way that it reurns an MPEG 4 frame f

[Live-devel] MPEG4 not elementary

2008-07-01 Thread Fernando ReƔtegui del Aguila
Hello, I wanted to ask if there is anyone who have managed to write some code for streamming (like the example testMPEG4Streammer) MPEG4 files (not the elementary) and wouldn't mind to share. I have tried the example with the elementary files and it works fine, but I would like to stream normal mp

[Live-devel] Stream errors with MPEG 4 ES

2008-07-01 Thread Kumar Bala (DSP-Weuffen GmbH)
Hello, I use the testOnDemandRTSPServer to stream live video (captured using an analog camera and encoded to MPEG 4 ES using a co-processor). I use ByteFileStreamSource.cpp in (ASYNCHRONOUS mode) as a base model for my device. I have modified doReadFromFile in such a way that it reurns an MPEG 4

Re: [Live-devel] Queries about live555 Streaming Media

2008-07-01 Thread Ross Finlayson
1. When I compile the source code package, I follow the instructions that : - extract the package to a folder, then type the command : cd home/hannah/Documents . This is the folder contains the "live". You need to cd *into* the "live" directory itself. Then run "./genMakefiles linus",

[Live-devel] Queries about live555 Streaming Media

2008-07-01 Thread Hannah
Hi I'm trying to compile the live555 Streaming Media packet on Linux. I have 2 problems and can't find the solution in the FAQ. So I wrote to ask. Hope you will reply to me :) 1. When I compile the source code package, I follow the instructions that : - extract the package to a folder, the