Skip to content

Commit

Permalink
Add PayloadType for FEC and RTX also
Browse files Browse the repository at this point in the history
We don't want any SDP dependence/logic in this repo
  • Loading branch information
Sean-Der committed Oct 5, 2024
1 parent c6a7ea8 commit a572d90
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions streaminfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ 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
SSRCRetransmission uint32
SSRCForwardErrorCorrection 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
PayloadTypeRetransmission uint8
PayloadTypeForwardErrorCorrection uint32
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 a572d90

Please sign in to comment.