예제 #1
0
        public void Stop()
        {
            if (this.IsRunning)
            {
                receiver.Stop();

                // notify client that the video is finished
                RaiseVideoSourceFinishedEvent(VideoSourceFinishedReasonType.StoppedByUser);
            }
        }
예제 #2
0
 void OnDestroy()
 {
     receiver.Stop();
 }
예제 #3
0
 private void OnClosing(object sender, CancelEventArgs e)
 {
     receiver.Stop();
 }
예제 #4
0
 void OnApplicationQuit()
 {
     //Debug.Log("OnApplicationQuit");
     receiver.Stop();
 }