mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-15 09:12:32 +02:00
cleanup
This commit is contained in:
parent
6e119249d8
commit
1cf3eee3e6
1 changed files with 0 additions and 22 deletions
|
@ -182,28 +182,6 @@ func (m *WebRTCManager) CreatePeer(id string, sdp string) (string, types.Peer, e
|
||||||
return "", nil, err
|
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
|
// set remote description
|
||||||
connection.SetRemoteDescription(description)
|
connection.SetRemoteDescription(description)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue