Unlock instant, AI-driven research and patent intelligence for your innovation.

A method of flv video transmission and web page playback based on websocket

A technology for video transmission and web pages, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as unavailability of live broadcast scenes, reduced delay, and live broadcast suspension, and achieve simple signaling interaction process, reduce delay, and quickly callback effect

Active Publication Date: 2021-12-10
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing web video playback protocols mainly include rtmp, hls, http-flv, etc. The rtmp protocol depends on the flash plug-in, which is currently limited in browsers such as Google, and the protocol interaction is relatively complicated, which requires certain technical requirements for server developers; hls is limited by the protocol itself, it is difficult to reduce the delay to less than two seconds, and it cannot be used in live broadcast scenarios that require low delay; http-flv technology currently also has high delay (1000-2000 milliseconds), and the page is minimized. It is easy to cause problems such as live broadcast suspension

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
  • A method of flv video transmission and web page playback based on websocket
  • A method of flv video transmission and web page playback based on websocket
  • A method of flv video transmission and web page playback based on websocket

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them, and should be It is understood that the present application is not limited by the example embodiments disclosed and described herein. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0043] A method for websocket-based flv video transmission and webpage playback, comprising the following steps:

[0044] S1: Receive the video source of the server, mainly receive h264 data from the camera (rtsp), multicast (udp), http and other protocols, and decapsulate the video obtained by using the decapsulation...

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 technical field of webpage playback of the present invention relates to a websocket-based flv video transmission and webpage playback method, including the following steps: receiving the video source client of the server, and decapsulating the video obtained by using the decapsulation module Encapsulate the video h264 naked stream; repackage the video h264 naked stream into flv standard format video through the encapsulation conversion module; cache the obtained MetaData package in memory; the WebSocket client sends a request command to establish a connection with the websocket, and follow the complete flv standard format video to push video data; detect the sending status of the MetaData package to determine whether the MetaData package has been sent; after the MetaData package has been sent, the ordinary audio and video data package is sent; use the webpage decoding plug-in for the received push data Do decoding and rendering operations and play. The advantage is that not only the video can be played without relying on the flash plug-in, but also the video can be played with a lower delay.

Description

technical field [0001] The invention belongs to the technical field of webpage playing, and relates to a method for websocket-based flv video transmission and webpage playing. Background technique [0002] With the development of Internet technology and web technology, web video live broadcast technology is more and more widely used in interactive live broadcast, security, remote operation and other scenarios. [0003] The existing web video playback protocols mainly include rtmp, hls, http-flv, etc. The rtmp protocol depends on the flash plug-in, which is currently limited in browsers such as Google, and the protocol interaction is relatively complicated, which requires certain technical requirements for server developers; hls is limited by the protocol itself, it is difficult to reduce the delay to less than two seconds, and it cannot be used in live broadcast scenarios that require low delay; http-flv technology currently also has high delay (1000-2000 milliseconds), and ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N21/4782H04N21/44H04N21/472H04N21/2343H04N21/231
CPCH04N21/4782H04N21/44H04N21/472H04N21/234309H04N21/23106
Inventor 谢黎铭何安松
Owner SHENZHEN COSHIP ELECTRONICS CO LTD