# AP4_RtpSampleData Class Reference

`#include <Ap4RtpHint.h>`

List of all members.

## Public Member Functions
| AP4_RtpSampleData (AP4_ByteStream &stream, AP4_UI32 size)
| AP4_RtpSampleData ()
virtual | ~AP4_RtpSampleData ()
virtual AP4_Result | AddPacket (AP4_RtpPacket *packet)
virtual AP4_Size | GetSize ()
virtual AP4_ByteStream * | ToByteStream ()
AP4_List< AP4_RtpPacket > & | GetPackets ()
const AP4_DataBuffer & | GetExtraData () const
## Protected Attributes
AP4_List< AP4_RtpPacket > | m_Packets
AP4_DataBuffer | m_ExtraData

## Detailed Description

Definition at line 50 of file Ap4RtpHint.h.

## Constructor & Destructor Documentation

AP4_RtpSampleData::AP4_RtpSampleData | ( | AP4_ByteStream & | stream,
|  | AP4_UI32 | size |
| ) |  |  |

AP4_RtpSampleData::AP4_RtpSampleData | ( |  | ) | `[inline]`

Definition at line 55 of file Ap4RtpHint.h.

virtual AP4_RtpSampleData::~AP4_RtpSampleData | ( |  | ) | `[virtual]`

## Member Function Documentation

virtual AP4_Result AP4_RtpSampleData::AddPacket | ( | AP4_RtpPacket * | packet | ) | `[virtual]`

virtual AP4_Size AP4_RtpSampleData::GetSize | ( |  | ) | `[virtual]`

virtual AP4_ByteStream* AP4_RtpSampleData::ToByteStream | ( |  | ) | `[virtual]`

AP4_List<AP4_RtpPacket>& AP4_RtpSampleData::GetPackets | ( |  | ) | `[inline]`

Definition at line 64 of file Ap4RtpHint.h.

References m_Packets.

const AP4_DataBuffer& AP4_RtpSampleData::GetExtraData | ( |  | ) | const`[inline]`

Definition at line 67 of file Ap4RtpHint.h.

References m_ExtraData.

## Member Data Documentation

AP4_List<AP4_RtpPacket> AP4_RtpSampleData::m_Packets`[protected]`

Definition at line 73 of file Ap4RtpHint.h.

Referenced by GetPackets().

AP4_DataBuffer AP4_RtpSampleData::m_ExtraData`[protected]`

Definition at line 74 of file Ap4RtpHint.h.

Referenced by GetExtraData().

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

- Ap4RtpHint.h