Gnash  0.8.11dev
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gnash::rtmp::RTMPHeader Struct Reference

The RTMPHeader contains all the fields for the packet header. More...

#include <RTMP.h>

Public Member Functions

 RTMPHeader ()
 

Public Attributes

PacketSize headerType
 
PacketType packetType
 
std::uint32_t _timestamp
 The timestamp. More...
 
std::uint32_t _streamID
 This seems to be used for NetStream.play. More...
 
size_t channel
 
size_t dataSize
 

Static Public Attributes

static const size_t headerSize = 18
 The maximum header size of an RTMP packet. More...
 

Detailed Description

The RTMPHeader contains all the fields for the packet header.

Constructor & Destructor Documentation

§ RTMPHeader()

gnash::rtmp::RTMPHeader::RTMPHeader ( )
inline

Member Data Documentation

§ _streamID

std::uint32_t gnash::rtmp::RTMPHeader::_streamID

This seems to be used for NetStream.play.

Referenced by gnash::rtmp::RTMP::sendPacket(), and gnash::rtmp::sendServerBW().

§ _timestamp

std::uint32_t gnash::rtmp::RTMPHeader::_timestamp

The timestamp.

This is encoded either as in the 3-byte relative timestamp field or the 4 byte extended (absolute) timestamp field.

Referenced by gnash::rtmp::RTMP::sendPacket(), and gnash::rtmp::sendServerBW().

§ channel

size_t gnash::rtmp::RTMPHeader::channel

§ dataSize

size_t gnash::rtmp::RTMPHeader::dataSize

§ headerSize

const size_t gnash::rtmp::RTMPHeader::headerSize = 18
static

§ headerType

PacketSize gnash::rtmp::RTMPHeader::headerType

§ packetType

PacketType gnash::rtmp::RTMPHeader::packetType

The documentation for this struct was generated from the following files: