Fix passed deps

This commit is contained in:
Nick Mowen 2022-10-21 09:35:01 -06:00
parent 0e91b78780
commit 58abdf2a89

View File

@ -57,7 +57,7 @@ export default function WebRtcPlayer({ camera, width, height }) {
// so need to create transeivers manually
pc.addTransceiver('video', {direction: 'recvonly'});
pc.addTransceiver('audio', {direction: 'recvonly'});
}, [camera]);
}, [url]);
return (
<div>