Gnash  0.8.11dev
Classes | Namespaces | Macros | Enumerations | Functions
RTMP.h File Reference
#include <cstdint>
#include <memory>
#include <deque>
#include <map>
#include "SimpleBuffer.h"
#include "Socket.h"
#include "dsodefs.h"

Go to the source code of this file.

Classes

struct  gnash::rtmp::RTMPHeader
 The RTMPHeader contains all the fields for the packet header. More...
 
struct  gnash::rtmp::RTMPPacket
 An RTMPPacket class contains a full description of an RTMP packet. More...
 
struct  gnash::rtmp::RTMP
 This class is for handling the RTMP protocol. More...
 

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 
 gnash::rtmp
 

Macros

#define RTMP_DEFAULT_CHUNKSIZE   128
 

Enumerations

Functions

bool gnash::rtmp::hasPayload (const RTMPPacket &p)
 Check whether an RTMPPacket has a payload. More...
 
void gnash::rtmp::clearPayload (RTMPPacket &p)
 Clear the message body and the bytes read of an RTMPPacket. More...
 
size_t gnash::rtmp::payloadSize (const RTMPPacket &p)
 The current size of the space allocated for the message payload. More...
 
std::uint8_t * gnash::rtmp::payloadData (RTMPPacket &p)
 Access the payload data section of the buffer. More...
 
const std::uint8_t * gnash::rtmp::payloadData (const RTMPPacket &p)
 Access the payload data section of the buffer. More...
 
const std::uint8_t * gnash::rtmp::payloadEnd (const RTMPPacket &p)
 Get the end of the allocated payload data section of the buffer. More...
 
bool gnash::rtmp::isReady (const RTMPPacket &p)
 Check if a packet is ready for processing. More...
 
bool gnash::rtmp::sendServerBW (RTMP &r)
 Send the server bandwidth. More...
 
bool gnash::rtmp::sendCtrl (RTMP &r, ControlType, unsigned int nObject, unsigned int nTime)
 Send a control packet. More...
 
std::ostream & gnash::rtmp::operator<< (std::ostream &o, PacketType p)
 Logging assistance for PacketType. More...
 
std::ostream & gnash::rtmp::operator<< (std::ostream &o, ControlType t)
 Logging assistance for ControlType. More...
 

Macro Definition Documentation

#define RTMP_DEFAULT_CHUNKSIZE   128