Update readme

This commit is contained in:
Alexey Khit
2023-07-11 15:03:27 +03:00
parent b5d40caffc
commit 39c25215ba
2 changed files with 79 additions and 16 deletions
+4
View File
@@ -1,5 +1,9 @@
import {VideoRTC} from './video-rtc.js';
/**
* This is example, how you can extend VideoRTC player for your app.
* Also you can check this example: https://github.com/AlexxIT/WebRTC
*/
class VideoStream extends VideoRTC {
set divMode(value) {
this.querySelector('.mode').innerText = value;