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:
parent
1c71a73f8e
commit
963f7d169d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue