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_t * data
 packet payload
int data_size
 packet payload size


Detailed Description

structure for holding RTMP packets

Definition at line 75 of file rtmppkt.h.


Field Documentation

RTMP channel ID (nothing to do with audio/video channels though).

Definition at line 76 of file rtmppkt.h.

Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_read(), ff_rtmp_packet_write(), and rtmp_write().

uint8_t* RTMPPacket::data

probably an additional channel ID used during streaming data

Definition at line 80 of file rtmppkt.h.

Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_read(), ff_rtmp_packet_write(), gen_play(), gen_publish(), and rtmp_write().

packet full timestamp

Definition at line 78 of file rtmppkt.h.

Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_dump(), ff_rtmp_packet_read(), ff_rtmp_packet_write(), gen_pong(), and get_packet().

timestamp increment to the previous one in milliseconds (latter only for media packets)

Definition at line 79 of file rtmppkt.h.

Referenced by ff_rtmp_packet_create(), ff_rtmp_packet_read(), and ff_rtmp_packet_write().


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

Generated on Fri Oct 26 02:36:58 2012 for FFmpeg by  doxygen 1.5.8