public void StartDecoding() { var width = StreamWidth ?? 0; var height = StreamHeight ?? 0; _backend.StartDecoding(_video, width, height); IsDecoding = true; }
public async void StartDecoding() { var width = StreamWidth ?? 0; var height = StreamHeight ?? 0; _backend.StartDecoding(_video, width, height); SelectedVideoInputId = await _backend.GetVideoInputDevice(); IsDecoding = true; StateHasChanged(); }