Live video on the AT Protocol

video-native: fix sdp post

+1 -5
+1 -5
js/components/src/components/mobile-player/video-async.native.tsx
··· 186 }) { 187 const selectedRendition = usePlayerStore((x) => x.selectedRendition); 188 const src = usePlayerStore((x) => x.src); 189 - const { url } = srcToUrl( 190 - { src: src, selectedRendition }, 191 - PlayerProtocol.WEBRTC, 192 - ); 193 - const [stream, stuck] = useWebRTC(url); 194 const status = usePlayerStore((x) => x.status); 195 196 const setPlayerWidth = usePlayerStore((x) => x.setPlayerWidth);
··· 186 }) { 187 const selectedRendition = usePlayerStore((x) => x.selectedRendition); 188 const src = usePlayerStore((x) => x.src); 189 + const [stream, stuck] = useWebRTC(src); 190 const status = usePlayerStore((x) => x.status); 191 192 const setPlayerWidth = usePlayerStore((x) => x.setPlayerWidth);