-
- Downloads
Ported snowflake client to work with pion/webrtc
Modified the snowflake client to use pion/webrtc as the webrtc library. This involved a few small changes to match function signatures as well as several larger ones: - OnNegotiationNeeded is no longer supported, so CreateOffer and SetLocalDescription have been moved to a go routine called after the other peer connection callbacks are set - We need our own deserialize/serialize functions - We need to use a SettingEngine in order to access the OnICEGatheringStateChange callback
Showing
- client/lib/interfaces.go 1 addition, 1 deletionclient/lib/interfaces.go
- client/lib/lib_test.go 7 additions, 7 deletionsclient/lib/lib_test.go
- client/lib/rendezvous.go 12 additions, 9 deletionsclient/lib/rendezvous.go
- client/lib/util.go 51 additions, 8 deletionsclient/lib/util.go
- client/lib/webrtc.go 54 additions, 44 deletionsclient/lib/webrtc.go
- client/snowflake.go 21 additions, 7 deletionsclient/snowflake.go
Please register or sign in to comment