Data Fields | |
const AVClass * | class |
URLContext * | stream |
TCP stream used in interactions with RTMP server. | |
RTMPPacket | prev_pkt [2][RTMP_CHANNELS] |
packet history used when reading and sending packets | |
int | chunk_size |
size of the chunks RTMP packets are divided into | |
int | is_input |
input/output flag | |
char * | playpath |
stream identifier to play (with possible "mp4:" prefix) | |
int | live |
0: recorded, -1: live, -2: both | |
char * | app |
name of application | |
ClientState | state |
current state | |
int | main_channel_id |
an additional channel ID which is used for some invocations | |
uint8_t * | flv_data |
buffer with data for demuxer | |
int | flv_size |
current buffer size | |
int | flv_off |
number of bytes read from current buffer | |
RTMPPacket | out_pkt |
rtmp packet, created from flv a/v or metadata (for output) | |
uint32_t | client_report_size |
number of bytes after which client should report to server | |
uint32_t | bytes_read |
number of bytes read from server | |
uint32_t | last_bytes_read |
number of bytes read last reported to server | |
int | skip_bytes |
number of bytes to skip from the input FLV stream in the next write call | |
uint8_t | flv_header [11] |
partial incoming flv packet header | |
int | flv_header_bytes |
number of initialized bytes in flv_header | |
int | nb_invokes |
keeps track of invoke messages | |
int | create_stream_invoke |
invoke id for the create stream command | |
char * | tcurl |
url of the target stream | |
char * | flashver |
version of the flash plugin | |
char * | swfurl |
url of the swf player |
Definition at line 64 of file rtmpproto.c.
char* RTMPContext::app |
name of application
Definition at line 72 of file rtmpproto.c.
Referenced by gen_connect(), and rtmp_open().
uint32_t RTMPContext::bytes_read |
number of bytes read from server
Definition at line 80 of file rtmpproto.c.
Referenced by gen_bytes_read(), get_packet(), and rtmp_open().
size of the chunks RTMP packets are divided into
Definition at line 68 of file rtmpproto.c.
Referenced by gen_bytes_read(), gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_server_bw(), get_packet(), rtmp_open(), rtmp_parse_result(), and rtmp_write().
const AVClass* RTMPContext::class |
Definition at line 65 of file rtmpproto.c.
uint32_t RTMPContext::client_report_size |
number of bytes after which client should report to server
Definition at line 79 of file rtmpproto.c.
Referenced by get_packet(), rtmp_open(), and rtmp_parse_result().
invoke id for the create stream command
Definition at line 86 of file rtmpproto.c.
Referenced by gen_create_stream(), and rtmp_parse_result().
char* RTMPContext::flashver |
version of the flash plugin
Definition at line 88 of file rtmpproto.c.
Referenced by gen_connect(), and rtmp_open().
buffer with data for demuxer
Definition at line 75 of file rtmpproto.c.
Referenced by get_packet(), rtmp_close(), rtmp_open(), rtmp_read(), and rtmp_write().
partial incoming flv packet header
Definition at line 83 of file rtmpproto.c.
Referenced by rtmp_write().
number of initialized bytes in flv_header
Definition at line 84 of file rtmpproto.c.
Referenced by rtmp_write().
number of bytes read from current buffer
Definition at line 77 of file rtmpproto.c.
Referenced by get_packet(), rtmp_open(), rtmp_read(), and rtmp_write().
current buffer size
Definition at line 76 of file rtmpproto.c.
Referenced by get_packet(), rtmp_open(), rtmp_read(), and rtmp_write().
input/output flag
Definition at line 69 of file rtmpproto.c.
Referenced by gen_connect(), get_packet(), rtmp_close(), rtmp_handshake(), rtmp_open(), and rtmp_parse_result().
uint32_t RTMPContext::last_bytes_read |
number of bytes read last reported to server
Definition at line 81 of file rtmpproto.c.
Referenced by get_packet(), and rtmp_open().
0: recorded, -1: live, -2: both
Definition at line 71 of file rtmpproto.c.
Referenced by gen_play().
an additional channel ID which is used for some invocations
Definition at line 74 of file rtmpproto.c.
Referenced by gen_delete_stream(), gen_play(), gen_publish(), rtmp_parse_result(), and rtmp_write().
keeps track of invoke messages
Definition at line 85 of file rtmpproto.c.
Referenced by gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_publish(), and gen_release_stream().
rtmp packet, created from flv a/v or metadata (for output)
Definition at line 78 of file rtmpproto.c.
Referenced by rtmp_close(), and rtmp_write().
char* RTMPContext::playpath |
stream identifier to play (with possible "mp4:" prefix)
Definition at line 70 of file rtmpproto.c.
Referenced by gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_publish(), gen_release_stream(), and rtmp_open().
RTMPPacket RTMPContext::prev_pkt[2][RTMP_CHANNELS] |
packet history used when reading and sending packets
Definition at line 67 of file rtmpproto.c.
Referenced by gen_bytes_read(), gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_server_bw(), get_packet(), rtmp_parse_result(), and rtmp_write().
number of bytes to skip from the input FLV stream in the next write call
Definition at line 82 of file rtmpproto.c.
Referenced by rtmp_open(), and rtmp_write().
current state
Definition at line 73 of file rtmpproto.c.
Referenced by get_packet(), rtmp_close(), rtmp_open(), and rtmp_parse_result().
TCP stream used in interactions with RTMP server.
Definition at line 66 of file rtmpproto.c.
Referenced by gen_bytes_read(), gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcunpublish_stream(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_server_bw(), get_packet(), rtmp_close(), rtmp_handshake(), rtmp_open(), rtmp_parse_result(), and rtmp_write().
char* RTMPContext::swfurl |
char* RTMPContext::tcurl |
url of the target stream
Definition at line 87 of file rtmpproto.c.
Referenced by gen_connect(), and rtmp_open().