Technical Selection of h5 Live Broadcast Page for Yingke and Zanthoxylum bungeanum

  node.js, question

I don’t know what pepper is used to reflect guests.
Considering comprehensively, h5 is used instead of flash, which mainly guarantees the use of major browsers. I have studied videojs-contraib-hls before, but I don’t know if there are any other technologies.

The funny thing about such a meaningful question is that no one answered it. Please come and answer it.

图片描述
It is necessary to run Linux kernel above 4.0 and install v4l2loopback kernel module

GStreamer

Firefox browser version > = 40

Check settings (about:config)

media.mediasource.enabled  true
 media.mediasource.mp4.enabled  true
 media.mediasource.webm.enabled  true
 Media.mediasource.whitelist false (only required for versions below 42)

Erlang/OTP >= 17.0

Emacs, as well as erlang mode, can skillfully use c-c-k.

ebml-viewerhttps://code.google.com/p/ebm …

Matroska spec data foundation-source/specdata.xml at master · Matroska-Org/foundation-source · GitHub
After installation, use gstreamer to input the test signal to /dev/video0

gst-launch videotestsrc !  v4l2sink device=/dev/video0
<!  doctype html>
 <html>
 <head>
 <meta charset="utf-8" />
 <title>hhhhh TV</title>
 <script type="application/javascript" src="media1.js"></script>
 <body>
 <video id="video"></video>
 </body>
 </html>
"use strict";
 
 window.addEventListener(
 "load",
 function() {
 var videoElem = document.getElementById("video");
 navigator.mediaDevices.getUserMedia(
 { video: true }
 ).then(
 function(stream) {
 videoElem.src = URL.createObjectURL(stream);
 videoElem.play();
 bracket
 );
 bracket
 );

Source:https://zhuanlan.zhihu.com/p/ …