Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct {
Type MediaType
Direction MediaDirection
SSRC uint32
ReceiverSSRC uint32
OverTCP bool
MID string // mid
StreamId string
TrackId string
CName, StreamLabel, Label string
RTCPMux bool
RTCPRsize bool
Candidates []*Candidate
// Formats contained into the media.
Formats []format.Format
}
func (Media) Marshal ¶
func (m Media) Marshal() *sdp.MediaDescription
type MediaDirection ¶
type MediaDirection string
const ( DirectionSendRecv MediaDirection = "sendrecv" DirectionSendOnly MediaDirection = "sendonly" DirectionRecvOnly MediaDirection = "recvonly" )
Click to show internal directories.
Click to hide internal directories.