Re: [Live-devel] Locale bug in RTSP range: header

2009-02-06 Thread Ross Finlayson
I tested this with another compiler, and got the same result as Steven - the "Locale" destructor was getting called immediately after the constructor, rather than at the end of the block. I still think that this is a compiler bug, but because it appears to be common, I've decided to change all

Re: [Live-devel] Patch against release dated 1/26/2009

2009-02-06 Thread Matt Schuckmann
Yes the RTP and RTCP ports could be obtained by parsing the SDP however that's rather ugly and inefficient don't you think? The new code is implemented in the OnDemandServerSubsession class. We couldn't just subclass OnDemandServerSubsession as the information is keep in the StreamState class wh

Re: [Live-devel] Locale bug in RTSP range: header

2009-02-06 Thread Steven Kramer
Op 6 feb 2009, om 11:14 heeft Ross Finlayson het volgende geschreven: my system is apparently not using a US locale. This affected the generated range string (replaced dots by comma's). Fixed this by explicitly scoping the locale with a local variable. In that case, the 'bug' is probably i

Re: [Live-devel] Locale bug in RTSP range: header

2009-02-06 Thread Ross Finlayson
my system is apparently not using a US locale. This affected the generated range string (replaced dots by comma's). Fixed this by explicitly scoping the locale with a local variable. In that case, the 'bug' is probably in your compiler, not our code. Is anyone else ancountering this problem? -

[Live-devel] Locale bug in RTSP range: header

2009-02-06 Thread Steven Kramer
Hi, my system is apparently not using a US locale. This affected the generated range string (replaced dots by comma's). Fixed this by explicitly scoping the locale with a local variable. I.e., in createRangeString I replaced Locale ("C", LC_NUMERIC); with Locale locale ("C", LC_NUMERIC)

[Live-devel] Patch against release dated 1/26/2009

2009-02-06 Thread Gabriele De Luca
In answer to Matt Schuckmann: I think that RTCP client port can be set from SDP description (MediaSession).See RFC 3650. For the server RTCP port I think that can be implemented in the object OnDemandServerSubsession. What do you think Ross? __

Re: [Live-devel] Regarding JPEG streaming

2009-02-06 Thread Ross Finlayson
Here i am not clear about meaning of *JPEG frame without usual JPEG header*. See RFC 2435, which defines how JPEG frame data is carried in RTP packets. This is what we implement. -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ ___ li

[Live-devel] Regarding JPEG streaming

2009-02-06 Thread Pramod Bhagwat
Hi Ross, This is regarding streaming jpeg over rtp. I read the FAQ and in the mail mentioned below http://lists.live555.com/pipermail/live-devel/2005-January/001908.html You mentioned following: Note that "JPEGVideoSource" is an abstract base class. You must define and implement your own subclas