1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-09 02:05:59 +01:00

Use api.NewPeerConnection in RelayTest.

This commit is contained in:
Juliusz Chroboczek 2024-10-29 16:14:46 +01:00
parent 1c71a73f8e
commit 963f7d169d

View file

@ -167,7 +167,7 @@ func RelayTest(timeout time.Duration) (time.Duration, error) {
return 0, err return 0, err
} }
defer pc1.Close() defer pc1.Close()
pc2, err := webrtc.NewPeerConnection(*conf) pc2, err := api.NewPeerConnection(*conf)
if err != nil { if err != nil {
return 0, err return 0, err
} }