History

lavf: add and use AVRTCPSenderReport struct

This will be used in a future commit to expose the SR as side-data.

Marvin Scholz committed 1 year ago

Commit 74aa7101 parent e0abe0a4 files · +37 −17Browse files

Showing the changes to libavcodec (1 of 4 files). Show all

Unified · Split

libavcodec/defs.h+14−0
@@ -333,6 +333,20 @@ typedef struct AVProducerReferenceTime { · 332 unmodified lines
333 int flags;333 int flags;
334} AVProducerReferenceTime;334} AVProducerReferenceTime;
335 335
336/**
337 * RTCP SR (Sender Report) information
338 *
339 * The received sender report information for an RTSP
340 * stream, exposed as AV_PKT_DATA_RTCP_SR side data.
341 */
342typedef struct AVRTCPSenderReport {
343 uint32_t ssrc; ///< Synchronization source identifier
344 uint64_t ntp_timestamp; ///< NTP time when the report was sent
345 uint32_t rtp_timestamp; ///< RTP time when the report was sent
346 uint32_t sender_nb_packets; ///< Total number of packets sent
347 uint32_t sender_nb_bytes; ///< Total number of bytes sent (excluding headers or padding)
348} AVRTCPSenderReport;
349
336/**350/**
337 * Encode extradata length to a buffer. Used by xiph codecs.351 * Encode extradata length to a buffer. Used by xiph codecs.
338 *352 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t