Skip to content

Commit

Permalink
Add RTX and FEC support to StreamInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean-Der committed Oct 4, 2024
1 parent 30f6940 commit c6a7ea8
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions streaminfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c6a7ea8

Please sign in to comment.