Mid gets the Transceiver's mid value. When not already set, this value will be set in CreateOffer or CreateAnswer.
()
| 231 | |
| 232 | // Mid gets the Transceiver's mid value. When not already set, this value will be set in CreateOffer or CreateAnswer. |
| 233 | func (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. |
| 242 | func (t *RTPTransceiver) Kind() RTPCodecType { |
no outgoing calls