From c6a7ea8261ea13221d7458190e6a4f09d19cea0e Mon Sep 17 00:00:00 2001 From: Sean DuBois Date: Thu, 3 Oct 2024 15:26:56 -0400 Subject: [PATCH] Add RTX and FEC support to StreamInfo --- streaminfo.go | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/streaminfo.go b/streaminfo.go index 4108159c..7ca7362a 100644 --- a/streaminfo.go +++ b/streaminfo.go @@ -11,16 +11,18 @@ type RTPHeaderExtension struct { // StreamInfo is the Context passed when a StreamLocal or StreamRemote has been Binded or Unbinded type StreamInfo struct { - ID string - Attributes Attributes - SSRC uint32 - PayloadType uint8 - RTPHeaderExtensions []RTPHeaderExtension - MimeType string - ClockRate uint32 - Channels uint16 - SDPFmtpLine string - RTCPFeedback []RTCPFeedback + ID string + Attributes Attributes + SSRC uint32 + SSRCRetransmission uint32 + SSRCForwardErrorCorrection uint32 + PayloadType uint8 + RTPHeaderExtensions []RTPHeaderExtension + MimeType string + ClockRate uint32 + Channels uint16 + SDPFmtpLine string + RTCPFeedback []RTCPFeedback } // RTCPFeedback signals the connection to use additional RTCP packet types.