timestamp, next_timestamp);
continue;
}
+ /* Ignore packets with the extension bit set. */
+ if(header.vpxcc & 0x10)
+ continue;
p->next = 0;
p->flags = 0;
p->timestamp = timestamp;
*
* See <a href="http://www.ietf.org/rfc/rfc1889.txt">RFC1889</a> (now obsoleted
* by <a href="http://www.ietf.org/rfc/rfc3550.txt">RFC3550</a>).
+ *
+ * All values in this structure are big-endian.
*/
struct attribute((packed)) rtp_header {
/** @brief Version, padding, extension and CSRC
uint32_t ssrc;
};
+/** @brief RTP packet header format
+ *
+ * See <a href="http://www.ietf.org/rfc/rfc1889.txt">RFC1889</a> (now obsoleted
+ * by <a href="http://www.ietf.org/rfc/rfc3550.txt">RFC3550</a>).
+ *
+ * All values in this structure are big-endian.
+ */
+struct attribute((packed)) rtp_extension {
+ /** @brief Profile-defined extension type */
+ uint16_t type;
+
+ /** @brief Length of rest of extension */
+ uint16_t length;
+};
+
#endif /* RTP_H */
/*