Check Byte Alignment,Pixel format, and encoder slices.
How are you encodeing them? If the frames are large, then the encoder may
spit out more than one frame with the same timestamp and differnt sequence
number.
Nal units may be [7][8][5][5][5][1][1][1]... instead of simply
[7][8][5][1][1][1]
> I have developed a RTSP server based on the example found in
> testOnDemandRTSPServer.cpp. The application can stream data from files and
> also from different live sources (to do that i'm using an RTSP client which i
> developed some time ago, also based on the Live555 library).
FYI, you cou
> But if fFrameSize is greater than fMaxSize then I have to truncate the data.
> I think this is what that is causing the corrupted frames.
Yes, because if a frame has to be truncated, then the truncated data will be
lost (i.e., not sent to the client).
> Is there any way to get around this pro
Hi,
I have developed a RTSP server based on the example found
in testOnDemandRTSPServer.cpp. The application can stream data from files
and also from different live sources (to do that i'm using an RTSP client
which i developed some time ago, also based on the Live555 library).
I have implemented