FFmpeg
|
structure for holding RTMP packets More...
#include <rtmppkt.h>
Data Fields | |
int | channel_id |
RTMP channel ID (nothing to do with audio/video channels though) | |
RTMPPacketType | type |
packet payload type | |
uint32_t | timestamp |
packet full timestamp | |
uint32_t | ts_delta |
timestamp increment to the previous one in milliseconds (latter only for media packets) | |
uint32_t | extra |
probably an additional channel ID used during streaming data | |
uint8_t * | data |
packet payload | |
int | size |
packet payload size | |
int | offset |
amount of data read so far | |
int | read |
amount read, including headers | |
int RTMPPacket::channel_id |
RTMP channel ID (nothing to do with audio/video channels though)
Definition at line 78 of file rtmppkt.h.
Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), rtmp_packet_read_one_chunk(), and rtmp_write().
RTMPPacketType RTMPPacket::type |
packet payload type
Definition at line 79 of file rtmppkt.h.
Referenced by append_flv_data(), ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), get_packet(), rtmp_packet_read_one_chunk(), rtmp_parse_result(), and rtmp_send_packet().
uint32_t RTMPPacket::timestamp |
packet full timestamp
Definition at line 80 of file rtmppkt.h.
Referenced by append_flv_data(), ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), gen_pong(), get_packet(), handle_metadata(), and rtmp_packet_read_one_chunk().
uint32_t RTMPPacket::ts_delta |
timestamp increment to the previous one in milliseconds (latter only for media packets)
Definition at line 81 of file rtmppkt.h.
Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_write(), and rtmp_packet_read_one_chunk().
uint32_t RTMPPacket::extra |
probably an additional channel ID used during streaming data
Definition at line 82 of file rtmppkt.h.
Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), gen_play(), gen_publish(), gen_seek(), rtmp_packet_read_one_chunk(), rtmp_write(), and write_status().
uint8_t* RTMPPacket::data |
packet payload
Definition at line 83 of file rtmppkt.h.
Referenced by append_flv_data(), ff_rtmp_packet_create(), ff_rtmp_packet_destroy(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), find_tracked_method(), gen_buffer_time(), gen_bytes_read(), gen_check_bw(), gen_connect(), gen_create_stream(), gen_delete_stream(), gen_fcpublish_stream(), gen_fcsubscribe_stream(), gen_fcunpublish_stream(), gen_play(), gen_pong(), gen_publish(), gen_release_stream(), gen_seek(), gen_server_bw(), gen_swf_verification(), handle_chunk_size(), handle_client_bw(), handle_invoke(), handle_invoke_error(), handle_invoke_result(), handle_invoke_status(), handle_metadata(), handle_notify(), handle_ping(), handle_server_bw(), read_connect(), rtmp_packet_read_one_chunk(), rtmp_send_packet(), rtmp_write(), send_invoke_response(), write_begin(), and write_status().
int RTMPPacket::size |
packet payload size
Definition at line 84 of file rtmppkt.h.
Referenced by append_flv_data(), ff_rtmp_packet_create(), ff_rtmp_packet_destroy(), ff_rtmp_packet_dump(), ff_rtmp_packet_write(), find_tracked_method(), gen_connect(), gen_pong(), get_packet(), handle_chunk_size(), handle_client_bw(), handle_invoke(), handle_invoke_error(), handle_invoke_status(), handle_metadata(), handle_notify(), handle_ping(), handle_server_bw(), read_connect(), rtmp_close(), rtmp_packet_read_one_chunk(), rtmp_send_packet(), send_invoke_response(), write_begin(), and write_status().
int RTMPPacket::offset |
amount of data read so far
Definition at line 85 of file rtmppkt.h.
Referenced by rtmp_packet_read_one_chunk().
int RTMPPacket::read |
amount read, including headers
Definition at line 86 of file rtmppkt.h.
Referenced by rtmp_packet_read_one_chunk().