@videosdk.live/react-sdk 0.4.8 → 0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +16 -12
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +16 -12
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +5 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1779,6 +1779,8 @@ export function getNetworkStats({
|
|
|
1779
1779
|
* ---
|
|
1780
1780
|
* @param videoStyle - Custom styles for the video element inside the container.
|
|
1781
1781
|
*
|
|
1782
|
+
* @param videoRef - Optional ref to the underlying <video> element.
|
|
1783
|
+
*
|
|
1782
1784
|
* ---
|
|
1783
1785
|
* @returns A React component that renders the participant's video stream with optional adaptive observers.
|
|
1784
1786
|
*
|
|
@@ -1800,7 +1802,8 @@ export function VideoPlayer({
|
|
|
1800
1802
|
containerStyle,
|
|
1801
1803
|
className,
|
|
1802
1804
|
classNameVideo,
|
|
1803
|
-
videoStyle
|
|
1805
|
+
videoStyle,
|
|
1806
|
+
videoRef
|
|
1804
1807
|
}: {
|
|
1805
1808
|
participantId: string;
|
|
1806
1809
|
type?: "video" | "share";
|
|
@@ -1808,6 +1811,7 @@ export function VideoPlayer({
|
|
|
1808
1811
|
className?: string;
|
|
1809
1812
|
classNameVideo?: string;
|
|
1810
1813
|
videoStyle?: React.CSSProperties;
|
|
1814
|
+
videoRef?: React.Ref<HTMLVideoElement>
|
|
1811
1815
|
}): JSX.Element;
|
|
1812
1816
|
|
|
1813
1817
|
/**
|