diff --git a/src/Video.tsx b/src/Video.tsx index f357ee1385..84e2e88399 100644 --- a/src/Video.tsx +++ b/src/Video.tsx @@ -221,10 +221,13 @@ const Video = forwardRef( if (!selectedVideoTrack) { return; } + const value = selectedVideoTrack?.value + ? `${selectedVideoTrack.value}` + : undefined; return { type: selectedVideoTrack?.type, - value: selectedVideoTrack?.value, + value, }; }, [selectedVideoTrack]);