mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
cleanup
This commit is contained in:
parent
6e119249d8
commit
1cf3eee3e6
@ -182,28 +182,6 @@ func (m *WebRTCManager) CreatePeer(id string, sdp string) (string, types.Peer, e
|
||||
return "", nil, err
|
||||
}
|
||||
|
||||
/*
|
||||
// clear the Transceiver bufers
|
||||
go func() {
|
||||
defer func() {
|
||||
m.logger.Warn().Msgf("ReadRTCP shutting down")
|
||||
}()
|
||||
for {
|
||||
packet, err := videoTransceiver.Sender.ReadRTCP()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
m.logger.Debug().Msgf("vReadRTCP %v", packet)
|
||||
|
||||
packet, err = audioTransceiver.Sender.ReadRTCP()
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
m.logger.Debug().Msgf("aReadRTCP %v", packet)
|
||||
}
|
||||
}()
|
||||
*/
|
||||
|
||||
// set remote description
|
||||
connection.SetRemoteDescription(description)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user