VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::RtpAvcPacketStream Class Reference

A class that accumulates RTP-AVC packets and serves up AVC NALUs. More...

#include <gvrtpavcpacket.h>

Public Member Functions

 RtpAvcPacketStream ()
 Default constructor.
 
bool add (const RtpPacket &)
 Adds a packet.
 
bool add (const RtpPacket &, const RtpAvcPacket &)
 Adds a packet.
 
bool more () const
 Returns true if NALUs are available.
 
std::string nalu ()
 Extracts a NALU.
 

Detailed Description

A class that accumulates RTP-AVC packets and serves up AVC NALUs.

Note that there is no one-to-one correspondence between RTP-AVC packets and NALUs; NALUs can be fragmented over multiple packets, and multiple NULUs can be aggregated into one packet.

Definition at line 165 of file gvrtpavcpacket.h.


The documentation for this class was generated from the following file: