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

            _backend.StartDecoding(_video, width, height);
            IsDecoding = true;
        }
Exemple #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();
        }