comparison rtmppkt.h @ 5413:25a21f96f863 libavformat

5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it
author kostya
date Thu, 03 Dec 2009 16:13:51 +0000
parents f66e3c131106
children f282f7758d6e
comparison
equal deleted inserted replaced
5412:95bc775d22ff 5413:25a21f96f863
71 71
72 /** 72 /**
73 * structure for holding RTMP packets 73 * structure for holding RTMP packets
74 */ 74 */
75 typedef struct RTMPPacket { 75 typedef struct RTMPPacket {
76 uint8_t channel_id; ///< RTMP channel ID (nothing to do with audio/video channels though) 76 int channel_id; ///< RTMP channel ID (nothing to do with audio/video channels though)
77 RTMPPacketType type; ///< packet payload type 77 RTMPPacketType type; ///< packet payload type
78 uint32_t timestamp; ///< packet full timestamp 78 uint32_t timestamp; ///< packet full timestamp
79 uint32_t ts_delta; ///< timestamp increment to the previous one in milliseconds (latter only for media packets) 79 uint32_t ts_delta; ///< timestamp increment to the previous one in milliseconds (latter only for media packets)
80 uint32_t extra; ///< probably an additional channel ID used during streaming data 80 uint32_t extra; ///< probably an additional channel ID used during streaming data
81 uint8_t *data; ///< packet payload 81 uint8_t *data; ///< packet payload