FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
RTMPPacket Struct Reference

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_tdata
 packet payload
 
int size
 packet payload size
 
int offset
 amount of data read so far
 
int read
 amount read, including headers
 

Detailed Description

structure for holding RTMP packets

Definition at line 77 of file rtmppkt.h.

Field Documentation

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
uint32_t RTMPPacket::timestamp
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
int RTMPPacket::size
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().


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