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
CN111147947AActive Publication Date: 2020-05-12SHENZHEN COSHIP ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN COSHIP ELECTRONICS CO LTD
Publication Date
2020-05-12

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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