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

Websocket-based flv video transmission and webpage playing method

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: 2020-05-12
SHENZHEN COSHIP ELECTRONICS CO LTD
View PDF10 Cites 9 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
  • Websocket-based flv video transmission and webpage playing method
  • Websocket-based flv video transmission and webpage playing method
  • Websocket-based flv video transmission and webpage playing method

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 invention belongs to the technical field of webpage playing, and relates to a websocket-based flv video transmission and webpage playing method, which comprises the following steps of: receiving astream from a video source client of a server, and de-packaging a video obtained by receiving the stream by using a de-pacakging module to obtain a video h264 naked stream; repackaging the video h264bare stream into a flv standard format video through a packaging conversion module; caching an obtained MetaData packet in a memory; sending, by ta WebSocket client, a request instruction to establish connection with the websocket, and pushing video data according to complete video in the flv standard format; detecting the packet sending state of the MetaData packet, and determining whether the MetaData packet is sent or not; after the MetaData packet is sent, sending the common audio and video data packet; and performing decoding rendering on the received push data by using a webpage decoding plug-in and playing the push data. The method has the advantages that the video can be played without depending on a flash plug-in, and delay is shorter when the video is played.

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