Add support for mobile version

This commit is contained in:
Pierre HUBERT 2020-04-22 18:21:04 +02:00
parent b65253d144
commit 698132b070

View File

@ -217,7 +217,8 @@ func newCall(mainOffer receivedSignal, r *activeRelay) {
// Setup config
peerConnectionConfig := webrtc.Configuration{
ICEServers: callConf.iceServers,
ICEServers: callConf.iceServers,
SDPSemantics: webrtc.SDPSemanticsUnifiedPlanWithFallback,
}
// Create a new RTCPeerConnection
@ -396,13 +397,6 @@ func newCall(mainOffer receivedSignal, r *activeRelay) {
clients := make(map[string]*webrtc.PeerConnection, 1)
// Close all clients connections at the end
defer func() {
for _, v := range clients {
v.Close()
}
}()
// Enter messags loop
for {