Conversation & video file publishing
This demo exposes how to publish a video file as the conversation stream
Start and join conversation
Check our conversation tutorial to get more details.
Publishing video file
Once you have video file loaded, you can use video element to render and publish the video stream:
let mediaStream = videoElement.captureStream(30); ua.createStreamFromMediaStream(mediaStream) .then((stream) => { connectedConversation.publish(stream, null); }) .catch((err) => { console.error('Create stream error', err); });