This commit is contained in:
sevico 2026-05-30 08:23:31 -04:00 committed by GitHub
commit f98832ef26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
} }