Change the names of event handlers and attributes for readability

This commit is contained in:
Konstantin Itskov
2018-08-29 17:05:26 -04:00
parent 4502076147
commit f738cec9da
10 changed files with 422 additions and 250 deletions

View File

@@ -46,7 +46,7 @@ func main() {
// Set the handler for ICE connection state
// This will notify you when the peer has connected/disconnected
peerConnection.OnICEConnectionStateChange = func(connectionState ice.ConnectionState) {
peerConnection.OnIceConnectionStateChange = func(connectionState ice.ConnectionState) {
fmt.Printf("Connection State has changed %s \n", connectionState.String())
}