예제 #1
0
        public void StartDecoding()
        {
            var width  = StreamWidth ?? 0;
            var height = StreamHeight ?? 0;

            _backend.StartDecoding(_video, width, height);
            IsDecoding = true;
        }
예제 #2
0
        public async void StartDecoding()
        {
            var width  = StreamWidth ?? 0;
            var height = StreamHeight ?? 0;

            _backend.StartDecoding(_video, width, height);
            SelectedVideoInputId = await _backend.GetVideoInputDevice();

            IsDecoding = true;
            StateHasChanged();
        }