1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-26 09:15:46 +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
}
defer pc1.Close()
pc2, err := webrtc.NewPeerConnection(*conf)
pc2, err := api.NewPeerConnection(*conf)
if err != nil {
return 0, err
}