(fn func(webrtc.RTPCodecParameters))
| 1429 | } |
| 1430 | |
| 1431 | func (b *BufferBase) OnCodecChange(fn func(webrtc.RTPCodecParameters)) { |
| 1432 | b.Lock() |
| 1433 | b.onCodecChange = fn |
| 1434 | b.Unlock() |
| 1435 | } |
| 1436 | |
| 1437 | func (b *BufferBase) OnStreamRestart(fn func(string)) { |
| 1438 | b.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected