> We already have a source which gives us this data(NAL unit data) so, our 
> requirement is, a streamer which will get this NAL unit data and stream it.

If your data source object delivers *discrete* NAL units - i.e., one at a time 
- instead of in an unstructured byte stream, then you must feed this source 
into a "H264VideoStreamDIscreteFramer", not a "H264VideoStreamFramer".

Of course, in this case, your input data source object will *not* be a 
"ByteStreamFileSource".  Instead, it will be a custom subclass of 
"FramedSource"  (perhaps similar to the "DeviceSource" code) that you have 
written yourself.

Note also that the H.264 NAL units that you deliver to the 
"H264VideoStreamDIscreteFramer" MUST NOT begin with a MPEG 'start code' (i.e., 
0x00000001).

To transmit this data via RTP, you use a "H264VideoRTPSink" (unmodified), as 
usual.


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