Re: [Live-devel] BasicUsageEnvironment::operator<<(const char *)

2010-03-11 Thread Ross Finlayson
This might sound silly, but when I was debuggind an app I've got a signal being caught because a NULL string had been passed to a BasicUsageEnvironment and the app crashed. I've just added a NULL check to the operator << on my own (if(str == NULL) str = "NULL";). Wouldn't it be of any good if

[Live-devel] Streaming from iphone to webserver

2010-03-11 Thread Mohan
Hi, I am developing an iphone app *which should do streaming from iphone camera to web server*. The iphone app has to be *coded in Objective-C*. I want to know, how I can use LIVE555 to implement the above functionality? Is it possible only with LIVE555? If we need additional things please do writ

[Live-devel] BasicUsageEnvironment::operator<<(const char *)

2010-03-11 Thread Paulo Rogério Panhoto
Hello, This might sound silly, but when I was debuggind an app I've got a signal being caught because a NULL string had been passed to a BasicUsageEnvironment and the app crashed. I've just added a NULL check to the operator << on my own (if(str == NULL) str = "NULL";). Wouldn't it be of any good

Re: [Live-devel] MPEG2TransportStreamIndexer produces 0 byte index files

2010-03-11 Thread Ross Finlayson
I can try and make some of these files available, but they're HUGE.. 300MB is the smallest one I have available to me at the moment That's fine; I don't mind downloading a file that size. Just put it on a web server and let us know the URL. -- Ross Finlayson Live Networks, Inc. http://www.live

[Live-devel] RTSPClient: how to end eventloop AFTER file is written to disk

2010-03-11 Thread Sven Wasmer
Hello Ross, hello everbody else there, Well, I'm currently trying to get through the RTSPClient lib and mixing it up with some objC. Thus we get a nice meal called: obj-C++ :-) My current aim is to fetch a h264-stream from a server and write it to a file on the client-side. this works so far. I

Re: [Live-devel] Fix for a possible buffer overflow in SDESItem

2010-03-11 Thread Ross Finlayson
Thanks for bringing this to our attention. There are actually two bugs here: Bug 1: if (length > 511) length = 511; Each "511" should be "255" (duh!) Bug 2: // Pad the trailing bytes to a 4-byte boundary: while ((length)%4 > 0) fData[2 + length++] = '\0'; This code shouldn't be the

[Live-devel] MPEG2TransportStreamIndexer produces 0 byte index files

2010-03-11 Thread Melms, Kenneth X. -ND
Greetings everyone, I've been experimenting with live555 again, as we need to be able to stream MPEG2-TS files internally within our network. I like Live555 because it supported MPEG2-TS out of the box, with the promise of being able to produce "Trick-Play" index files. When I run the MPEG2Tra

Re: [Live-devel] Fix for a possible buffer overflow in SDESItem

2010-03-11 Thread Jeremy Noring
On Thu, Mar 11, 2010 at 9:16 AM, Doug Porter wrote: > Jeremy Noring writes: > > > > Actually, on second glance, the only realistic option is to > > shorten length, because only a single byte is allotted to the > > size field in fData[1]. (note that length is cast to unsigned > > char). So in R

Re: [Live-devel] Fix for a possible buffer overflow in SDESItem

2010-03-11 Thread Doug Porter
Jeremy Noring writes: > > Actually, on second glance, the only realistic option is to > shorten length, because only a single byte is allotted to the > size field in fData[1]. (note that length is cast to unsigned > char). So in RTCP.cpp, I'd change this line: > > if (length > 251) length = 25

Re: [Live-devel] Fix for a possible buffer overflow in SDESItem

2010-03-11 Thread Jeremy Noring
On Thu, Mar 11, 2010 at 8:43 AM, Jeremy Noring wrote: > In RTCP.cpp, > > SDESItem::SDESItem(unsigned char tag, unsigned char const* value) { > unsigned length = strlen((char const*)value); > if (length > 511) length = 511; > > fData[0] = tag; > fData[1] = (unsigned char)length; > memmov

[Live-devel] Fix for a possible buffer overflow in SDESItem

2010-03-11 Thread Jeremy Noring
In RTCP.cpp, SDESItem::SDESItem(unsigned char tag, unsigned char const* value) { unsigned length = strlen((char const*)value); if (length > 511) length = 511; fData[0] = tag; fData[1] = (unsigned char)length; memmove(&fData[2], value, length); // Pad the trailing bytes to a 4-byte bo

Re: [Live-devel] streaming http and h264

2010-03-11 Thread Ross Finlayson
1) can I do http streaming with live555? No. I do not really understand what HTTPSink does. Neither do I :-) This is old code that was apparently used to implement a rudimentary HTTP server specifically for MPEG-1 or 2 video - but I can't remember it actually being used for anything. -

Re: [Live-devel] playMediaSession H264

2010-03-11 Thread Ross Finlayson
now I have one more question about it. I'm only receiving Slice packets from the H264 Server now(type 1 and 5). Why I don't receive SPS, SEI or PPS packets? Perhaps your server just isn't sending them (in the stream)? SPS and PPS NAL units (I don't know anything about "SEI" NAL units) are us

Re: [Live-devel] streaming http and h264

2010-03-11 Thread Ottavio Campana
Il 11/03/10 04.06, Ross Finlayson ha scritto: I implemented rtsp streaming of a h264 video obtained by a custom DeviceSource. Now I would like to embedded the visualization of the video stream in the browser, by exploiting the video tag provided by html5. I tried specifying rtsp:// in the src o

Re: [Live-devel] playMediaSession H264

2010-03-11 Thread Miguel Angel Arcos
Hi, now I have one more question about it. I'm only receiving Slice packets from the H264 Server now(type 1 and 5). Why I don't receive SPS, SEI or PPS packets? Without this packets the video is impossible to see because I don't have all the information to decode. PD: In VLC looking the message bo

Re: [Live-devel] sip "register" method implentment ?

2010-03-11 Thread Ross Finlayson
If the live555 library can handle SIP request just like "register","invite" ? I saw a sipClient.cpp in the source but I can not see the "register" method of sip implemented in the file , does the lib not support the method now ? No. The library currently supports the "INVITE", "ACK" and "BY

[Live-devel] sip "register" method implentment ?

2010-03-11 Thread Kevin.Liu
Hi ross: If the live555 library can handle SIP request just like "register","invite" ? I saw a sipClient.cpp in the source but I can not see the "register" method of sip implemented in the file , does the lib not support the method now ? Best regards, Kevin Liu