Merge 737d4960f0 into 0f980d49a6
This commit is contained in:
commit
f98832ef26
|
|
@ -9,7 +9,6 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
@ -224,7 +223,7 @@ func (v *webRTCProxyServer) proxyApiToBackend(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse the local SDP answer from backend.
|
// Parse the local SDP answer from backend.
|
||||||
b, err := ioutil.ReadAll(resp.Body)
|
b, err := io.ReadAll(resp.Body)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return errors.Wrapf(err, "read stream from %v", backendURL)
|
return errors.Wrapf(err, "read stream from %v", backendURL)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user