Actually, I’m not sure my input sequence of NAL units contain SPS and PPS NAL 
units.
My video input is a live stream whose frames captured from webcam and encoded 
by x264.

However, “H264VideoStreamFramer” can parse SDP from my input, that means my 
input sequence of NAL units contain SPS and PPS NAL units?

Vince



From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, September 10, 2013 2:37 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Without SDP with H264VideoStreamDiscreteFramer

I’ve a question about H264VideoStreamFramer and H264VideoStreamDiscreteFramer.
Since my video frame source is discrete (frame by frame), I use 
H264VideoStreamDiscreteFrame.
However, I discover the H264VideoRTPSink didn’t have SDP (dump auxSDPLine() 
periodically) with H264VideoStreamDiscreteFramer.

Does your input sequence of NAL units (that you pass to 
"H264VideoStreamDiscreteFramer") contain SPS and PPS NAL units (either at the 
start of the sequence, or periodically within it)?  If so, then the 
"H264VideoStreamDiscreteFramer" will automatically record these when they 
appear, and this will cause the proper "auxSDPLine()" to get generated.

Alternatively, if you know the SPS and PPS NAL unit data in advance, you can 
pass them as parameters to the "H264VideoRTPSink" constructor (see 
"liveMedia/include/H264VideoRTPSink.hh").

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

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

Reply via email to