Source File
streaminfo.go
Belonging Package
github.com/pion/interceptor
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>// SPDX-License-Identifier: MITpackage interceptor// RTPHeaderExtension represents a negotiated RFC5285 RTP header extension.type RTPHeaderExtension struct {URI stringID int}// StreamInfo is the Context passed when a StreamLocal or StreamRemote has been Binded or Unbinded.type StreamInfo struct {ID stringAttributes AttributesSSRC uint32SSRCRetransmission uint32SSRCForwardErrorCorrection uint32PayloadType uint8PayloadTypeRetransmission uint8PayloadTypeForwardErrorCorrection uint8RTPHeaderExtensions []RTPHeaderExtensionMimeType stringClockRate uint32Channels uint16SDPFmtpLine stringRTCPFeedback []RTCPFeedback}// RTCPFeedback signals the connection to use additional RTCP packet types.// https://draft.ortc.org/#dom-rtcrtcpfeedbacktype RTCPFeedback struct {// Type is the type of feedback.// see: https://draft.ortc.org/#dom-rtcrtcpfeedback// valid: ack, ccm, nack, goog-remb, transport-ccType string// The parameter value depends on the type.// For example, type="nack" parameter="pli" will send Picture Loss Indicator packets.Parameter string}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |