コード例 #1
0
 private void OnListenerFailed(object sender, FailedEventArgs args)
 {
     this.plugin.QueueAction(() =>
     {
         Debug.Log("RealtimeVideoServer::OnListenerFailed");
         this.CurrentState = ServerState.Failed;
     });
 }
コード例 #2
0
        private void OnConnectorFailed(object sender, FailedEventArgs args)
        {
            this.plugin.QueueAction(() =>
            {
                Debug.Log("RealtimeVideoPlayer::OnConnectorFailed");

                this.PlayerState = PlaybackState.None;

                StopConnector();
            });
        }