// readonly iceconnectionState func (pc *PeerConnection) IceConnectionState() IceConnectionState { return (IceConnectionState)(C.CGO_IceConnectionState(pc.cgoPeer)) }
// readonly connectionState func (pc *PeerConnection) ConnectionState() PeerConnectionState { // TODO: Aggregate states according to: // https://w3c.github.io/webrtc-pc/#rtcpeerconnectionstate-enum return (PeerConnectionState)(C.CGO_IceConnectionState(pc.cgoPeer)) }