If I set to 1, then there SIGSEGV and output: referenceCount = 1 nals[i].i_type = 7 newFrameSize = 23 fTo[0]&0x1F = 7 nals[i].i_type = 8 newFrameSize = 4 fTo[0]&0x1F = 8 nals[i].i_type = 6 newFrameSize = 571 fTo[0]&0x1F = 5 nals[i].i_type = 5 newFrameSize = 39523 fTo[0]&0x1F = 8 referenceCount = 0
If I set to 0, then output: referenceCount = 1 nals[i].i_type = 5 newFrameSize = 39565 fTo[0]&0x1F = 5 nals[i].i_type = 1 newFrameSize = 8263 fTo[0]&0x1F = 1 nals[i].i_type = 1 newFrameSize = 5403 fTo[0]&0x1F = 1 nals[i].i_type = 5 newFrameSize = 13161 fTo[0]&0x1F = 5 nals[i].i_type = 1 newFrameSize = 4298 fTo[0]&0x1F = 1 nals[i].i_type = 1 newFrameSize = 3844 fTo[0]&0x1F = 1 nals[i].i_type = 5 newFrameSize = 13416 fTo[0]&0x1F = 5 nals[i].i_type = 1 newFrameSize = 3557 fTo[0]&0x1F = 1 .. Sources is attached. 22.01.2012, 11:30, "Ross Finlayson" <finlay...@live555.com>: >> There is also an option: int b_repeat_headers; /* put SPS/PPS before each >> keyframe */. It should be set in 0? > > I suggest setting this to 1, to ensure that the downstream > "H264VideoStreamDiscreteFramer" gets to see the SPS and PPS NAL units at > least once. (This is important, otherwise the RTSP server won't be able to > compute the proper 'configuration' string to put in the stream's SDP > description.) > > Ross. > > _______________________________________________ > live-devel mailing list > live-devel@lists.live555.com > http://lists.live555.com/mailman/listinfo/live-devel
config.h
Description: Binary data
H264VideoCamServerMediaSubsession.cpp
Description: Binary data
H264VideoCamServerMediaSubsession.hh
Description: Binary data
H264VideoCamSource.cpp
Description: Binary data
H264VideoCamSource.hh
Description: Binary data
main.cpp
Description: Binary data
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel