Dear all,
I have two questions regarding openRTSP.
1. I have a H264 camera with built-in RTSP server (an IP camera) and I am using 
openRTSP to receive the video stream. It works nice, I can receive frames of 
type IDR slices and other coded slices. However, a standard H264 also contains 
a SPS (sequence parameter set) NAL unit followed by a PPS (picture parameter 
set) NAL unit followed by the first IDR frame. The IP camera manufacturer 
confirmed that they include the SPS+PPS "header bytes" before the very first 
IDR frame and also before some later IDR frames at regular intervals. As I 
receive clean frames from live555 library without SPS+PPS I ust want to ask, if 
there is the possibility to somehow get these bytes, because I want to save 
them before the start of the stream. I tested the incoming frames and the first 
byte tells me, that the frames are clean IDR slices and other coded slices (NAL 
unit types 5 and 1). The SPS and PPS "header bytes" are missing.
2. Is there a way to set a custom timeout value for the RTSP client that the 
client would use for each command like PLAY, TEARDOWN or OPTIONS? I would like 
to be able to change the timeout and to force the RTSP client to complete a 
method master when the RTSP server is unavailable. I searched the code and 
found some timeout parameters, but I am not sure that I am doing the right 
thing.
Thanks very much in advance
Alex
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to