First, in html file we create a video component and a play button
<video id="video1" autoplay controls></video>
<button id="playbutton1">Play</button>
Then in javascript
const video1 = document.getElementById("video1");
const play1 = document.getElementById("playbutton1");
play1.onclick = async() => {
console.log("play1");
video1.setAttribute("src", "./video1.mp4");
video1.load();
};
video1.onplay = async() => {
const stream = video1.captureStream();
}
[TOC] Issues Recoverable_pkts is always zero :::spoiler Due to lack of RR? ::: Delay might not be long enough :::spoiler
Sep 11, 2020Audio Quality [x] Prometheus for monitoring audio quality (what happened during bad audio?) [x] Include the new latency metrics (lossrate, late packets) (Gary) [x] Jitter buffer latency (figure out whether this is the main problem) - audio_jitter_buffer_diff [x] Display with Grafana (Likai) [x] Setup Grafana [x] Setup Prometheus
Aug 24, 2020This tutorial assumes knowledge of the following concepts/tools: Network Address Translator (NAT) JavaScript What is WebRTC? WebRTC (Web Real-Time Communication) is a collection of standards, protocols, and JavaScript APIs which enables peer-to-peer audio, video, and data sharing between browsers, without requiring any third-party plug-ins or libraries. Delivering rich, high-quality, real-time content is a complex problem. Thankfully, the browser abstracts most of the complex task behind a few simple JavaScript APIs, making it possible to write a teleconferencing web application in a few dozens of lines of JavaScript code. This tutorial will show you, step by step, how to create a sample WebRTC P2P video chat system. What are the challenges in WebRTC?
Aug 11, 2020Constraints At any time, a client can be in at most 1 room Once a username has been negotiated, it will be used until the websocket is torn down The websocket is only torn down when the client leaves the page (not torn down when the client leaves a room) The username has to be unique among all the currently registered users. (if the client requests for a username that is already taken, the server responds with an error). Websocket message format Client-server communication through the websocket will be done through JSON objects.
May 19, 2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up