コード例 #1
0
ファイル: CTCamera.cs プロジェクト: v-rawang/Rally.IO
        public bool StopRecord()
        {
            bool result = cameraClient.StopRecord(this.currentHandle);

            if (result)
            {
                this.isRecording = false;
            }
            return(result);
        }
コード例 #2
0
ファイル: CameraServer.cs プロジェクト: v-rawang/Rally.IO
        public bool StopRecord()
        {
            //停止保存实时监视数据,关闭保存的文件
            bool result = cameraClient.StopRecord(myPlayHandle);

            if (result)
            {
                videoRecord = false;
                closeVideo();
                return(!videoRecord);
            }
            return(result);
        }