#include <map>
#include <string.h>
#include <stdlib.h>
#include <sys/time.h>
#include <string>
#include <arpa/inet.h>
#include "socket.h"
Go to the source code of this file.
|
| FLV |
| This namespace holds all FLV-parsing related functionality.
|
|
| RTMPStream |
| Contains all functions and classes needed for RTMP connections.
|
|
|
bool | RTMPStream::doHandshake () |
| Does the handshake. Expects handshake_in to be filled, and fills handshake_out. More...
|
|
std::string & | RTMPStream::SendChunk (unsigned int cs_id, unsigned char msg_type_id, unsigned int msg_stream_id, std::string data) |
| Packs up a chunk with the given arguments as properties. More...
|
|
std::string & | RTMPStream::SendCTL (unsigned char type, unsigned int data) |
| Packs up a chunk for a control message with 1 argument. More...
|
|
std::string & | RTMPStream::SendCTL (unsigned char type, unsigned int data, unsigned char data2) |
| Packs up a chunk for a control message with 2 arguments. More...
|
|
std::string & | RTMPStream::SendMedia (unsigned char msg_type_id, unsigned char *data, int len, unsigned int ts) |
| Packs up a chunk with media contents. More...
|
|
std::string & | RTMPStream::SendMedia (FLV::Tag &tag) |
| Packs up a chunk with media contents. More...
|
|
std::string & | RTMPStream::SendUSR (unsigned char type, unsigned int data) |
| Packs up a chunk for a user control message with 1 argument. More...
|
|
std::string & | RTMPStream::SendUSR (unsigned char type, unsigned int data, unsigned int data2) |
| Packs up a chunk for a user control message with 2 arguments. More...
|
|