[Live-devel] h264 EOS NALU

Ross Finlayson finlayson at live555.com
Thu Sep 12 04:51:54 PDT 2019



> On Sep 12, 2019, at 2:15 AM, Massimo Perrone via live-devel <live-devel at us.live555.com> wrote:
> 
> 
> I hope someone can help me to understand this point: what should be the behaviour of an RTSP client receiving an h264 video stream when it gets an EOS NALU ?


Because our RTSP client does not contain a codec, and thus does not decode (or otherwise process in any way) H.264 video data, it doesn’t do anything with these (other than what it normally does - e.g., output them to a decoder, or to a file).

If, however, our RTSP client (e.g., if used as a library in a media player application) happens to *feed* incoming H.264 data to a decoder (the only thing that actually processes H.264 NALUs), then this decoder may wish to signal the RTSP, client if it sees a EOS NALU.

(In any case, our RTSP client will close the stream when it detects an end of the RTSP TCP connection, or if it sees a RTCP “BYE” packet.  But all of this happens at a higher level than H.264 video, which our client does not actually process.)


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




More information about the live-devel mailing list