Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Non plugin live video method of browser

A technology of video live broadcast and browser, applied in the direction of instruments, electrical components, program control design, etc., can solve the problems of not being able to effectively reduce live broadcast delay, not being well compatible, not supporting plug-in technology, etc.

Inactive Publication Date: 2017-10-20
重庆扬讯数字科技股份有限公司
View PDF4 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The way of installing custom-developed activex and npapi plug-ins in the browser is to perform live video through the plug-ins, but in this solution, different browsers need to install different plug-ins, and different operating systems require different plug-ins, 32-bit and 64-bit browsing There are also different versions of plug-ins in the browser. There are many versions, and each version is not well compatible. Each client needs to set browser security, and the support for activex and npapi plug-ins is gradually eliminated in new versions of browsers. The plug-in technology is also not supported in the terminal, and it cannot be used in the mobile browser for live video broadcasting
[0004] Use the rtmp protocol + flash plug-ins that are generally pre-installed in PC client browsers, but because this solution uses the rtmp protocol and third-party flash controls, it is quite complicated and difficult to do custom extensions, and it does not support mobile Web browser for live streaming
[0005] Using the hls protocol, there is no need to install a third-party plug-in, and it can be played through the video tag of html5, but the playback delay of this solution is usually greater than 10 seconds, which cannot effectively reduce the delay during live broadcast
[0006] None of the above solutions can uniformly perform low-latency video live broadcast in web browsers, especially in mobile web browsers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Non plugin live video method of browser
  • Non plugin live video method of browser

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] like figure 2 Shown: a browser plug-in-free video live broadcast method, specifically comprising the following steps;

[0037] Use middleware technology to abstract various video source devices into video devices with a unified interface, and obtain video streams by operating video device objects with a unified interface. For video streams of different device videos, the middleware internally identifies them.

[0038] Check the video stream ID. If direct demultiplexing is supported, the standard h264 bare code stream can be obtained and demultiplexed directly. If direct demultiplexing is not supported to obtain the h264 bare code stream, first use the corresponding decoder to process the video through the video stream ID. The stream is decoded in real time, and then encoded with a standard h264 encoder to obtain a standard h264 bare code stream.

[0039] Use the encapsulation in bson format to encapsulate and serialize each frame of video stream data and the informat...

Embodiment 2

[0048] A browser plug-in-free live video method, specifically comprising the following steps;

[0049] Use the local camera to directly obtain video raw data.

[0050] Use the standard h265 encoder to encode to get the standard h265 bare code stream.

[0051] The encapsulation in probuf format is used to encapsulate and serialize the video stream data of each frame and the information that needs to be carried corresponding to the video stream data of the frame into individual messages for subsequent transmission.

[0052] The server implements the Websocket protocol, and transmits the video stream messages serialized in the probuf format to the Web browser through the Websocket protocol.

[0053]In the web browser, the Websocket object supported by javascript actively connects to the server, and receives the video stream messages transmitted by the server in real time.

[0054] In the web browser, use the javascript probuf library to decapsulate the video stream message, and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a non plugin live video method of a browser. The method comprises the following steps: S01: a server obtains a video encoding stream; S02: the server transmits the video encoding stream to a Web browser by using Websocket, and the Web browser receives the video encoding stream by using the Websocket; S03: the Web browser decodes the video encoding stream by using JavaScript; and S04: the browser performs real-time video image display by using canvas+WebGL, namely, video playing. By adoption of the non plugin live video method disclosed by the invention, no plugin needs to be installed in the Web browser, live video can be realized in the browser by using the html5 standard, the delay is short, and the secondary development of the live video is performed conveniently.

Description

technical field [0001] The invention relates to a video playback method in a browser, in particular to a browser-free plug-in video live broadcast method. Background technique [0002] For live video broadcasting on web pages, the current main solutions mainly include: [0003] The method of installing custom-developed activex and npapi plug-ins in the browser is to perform live video through the plug-ins, but in this solution, different browsers need to install different plug-ins, and different operating systems require different plug-ins, 32-bit and 64-bit browsing There are also different versions of plug-ins in the browser. There are many versions, and each version is not well compatible. It is necessary to set browser security for each client, and the support for activex and npapi plug-ins is gradually eliminated in new versions of browsers. The plug-in technology is also not supported in the mobile terminal, and this technology cannot be used in the mobile browser for...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08G06F9/445
CPCH04L67/02G06F9/44521H04L65/764H04L65/762H04L65/65
Inventor 张洪燕
Owner 重庆扬讯数字科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products