MCPcopy
hub / github.com/pion/webrtc / Mid

Method Mid

rtptransceiver.go:233–239  ·  view source on GitHub ↗

Mid gets the Transceiver's mid value. When not already set, this value will be set in CreateOffer or CreateAnswer.

()

Source from the content-addressed store, hash-verified

231
232// Mid gets the Transceiver's mid value. When not already set, this value will be set in CreateOffer or CreateAnswer.
233func (t *RTPTransceiver) Mid() string {
234 if v, ok := t.mid.Load().(string); ok {
235 return v
236 }
237
238 return ""
239}
240
241// Kind returns RTPTransceiver's kind.
242func (t *RTPTransceiver) Kind() RTPCodecType {

Callers 15

SetMidMethod · 0.95
SetRemoteDescriptionMethod · 0.95
findByMidFunction · 0.80
satisfyTypeAndDirectionFunction · 0.80
collectStatsMethod · 0.80
CreateOfferMethod · 0.80
runIfNewReceiverFunction · 0.80

Calls

no outgoing calls