--- Begin Message ---
Thank you for your reply.

No, the ?-t? option (stream using RTP/RTCP-over-TCP) is working just fine - but it depends upon the RTSP server supporting it.  Perhaps your RTSP server (IP camera) doesn?t support it?

You can check this by changing ?RTSP_CLIENT_VERBOSITY_LEVEL? from 0 to 1, and looking at the RTSP ?SETUP? commands and responses.

The camera source definitely supports TCP streams, and when I change line 169 from "continueAfterClientCreation1(rtspClient);" to "continueAfterClientCreation0(rtspClient, streamUsingTCP);" this does provide a TCP stream. Otherwise, it does not. Of course, it could be that my sources are broken, or they default to UDP, or something else. I will definitely look at this in the coming week.

2. Something in the streaming functions used from hlsProxy (and my c++ is too limited to debug properly) does not appear to handle broken streams well
That?s right.  The ?LIVE555 HLS Proxy? currently acts as a basic RTSP client, and thus if the RTSP stream ends, it doesn?t attempt to reconnect.  At some point in the future, I might add a ?retry? mechanism (as such a mechanism currently exists for the ?LIVE555 RTSP Proxy?), but this is not a high priority.

For now, I suggest restarting the "LIVE555 HLS Proxy? whenever you restart your router (or the back-end RTSP server).
I would have expected the hlsProxy to exit when the stream ends? It can then be restarted it in an automated fashion from external source.
3. I have not tried any H.265 streams, but will do so in the future. I appreciate the addition of audio in recent code. I'm wondering if there is a DiscreteFramer I could use for something like alaw (PCM ALAW).
The problem here is that there needs to be a standard MPEG Transport stream type for this codec (to ensure that each web browser that ends up playing the Transport Stream segments will understand what this data means.

If you have an example of a MPEG Transport Stream file (preferably, a HLS segment) that contains this kind of data, let me know.

I hit record button in VLC when playing the RTSP stream. The output file is an avi, but the streams are untouched (with stream0 being audio).

When I tried segmenting this using ffmpeg, it was necessary to transcode the audio in order for the output files to contain it. I suppose transcoding is beyond the scope of the hlsProxy application. Thanks for helping me understand this

Serg


--- End Message ---
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to