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

Method and system for playing video in browser webpage

A technology for playing videos and browsers, applied in the field of computer software engineering, can solve problems such as poor real-time performance, fragmentation of generated files, complex technology, etc., and achieve the effect of saving manpower, material resources and development time, good stability and performance advantages

Inactive Publication Date: 2021-02-26
武汉众智数字技术有限公司
View PDF5 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this solution is that it needs to transcode the media format, which has disadvantages such as poor real-time performance, high delay, and generated file fragments.
The disadvantage is that the technology is more complicated and requires a lot of development work

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
  • Method and system for playing video in browser webpage
  • Method and system for playing video in browser webpage
  • Method and system for playing video in browser webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] A method for playing a video in a browser webpage, comprising:

[0058] S101. client unit starts, creates local HTTP service and Websocket service after starting, and client unit sends SIP registration message to streaming media server unit after starting, and streaming media server unit checks the registration message that receives, will check The test result is returned to the client unit, and the session state of the client unit is managed.

[0059] In this embodiment, the registration process of the client unit to the streaming media server unit complies with the session control process of device or system registration specified in the GB / T 28181 standard.

[0060] Specifically, the HTTP protocol is the abbreviation of HyperText Transfer Protocol (Hypertext Transfer Protocol). WebSocket is a full-duplex communication protocol provided by the HTML5 standard. It supports two-way data transmission and allows the server to actively push data to the client. SIP i...

Embodiment 2

[0086] This embodiment discloses a system for playing video in browser web pages, including: a browser unit 1, a client unit 2, a streaming media server unit 3, and a front-end device unit 4, wherein:

[0087] The browser unit 1, when it needs to play the video media supporting the GB / T 28181 standard, sends a video playback request message to the client unit 2 in the webpage through HTTP or Websocket request.

[0088] The client unit 2 provides functions such as GB / T 28181 protocol signaling interaction, media reception and transmission, and frame decoding related to video playback. When receiving the video playback request message sent by the browser unit 1, the video playback request message is sent. Convert it into SIP media request signaling that meets the GB / T 28181 protocol, and send it to the streaming media server unit 3.

[0089] The streaming media server unit 3 provides functions such as processing and forwarding of communication signaling supporting the GB...

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 method for playing a video in a browser webpage. The method comprises the steps that a client creates a local HTTP service and a Websocket service after being started; a browser unit loads a player webpage and establishes Websocket connection with a client unit; the browser unit sends a video playing request to the client unit; the client unit converts the video playing request message into a media request SIP message meeting the GB / T 28181 standard, and sends the media request SIP message to a streaming media server unit; the streaming media server unit judges the type of the media request and performs preset processing according to the type of the media request; the client unit performs framing processing on the RTP packet and decodes each frame of data into a YUV or RGB format; the client unit sends the decoded frame data to the browser unit through the Websocket; and the browser unit receives the frame data, and renders and displays the frame data by usingHTML5 WebGL or Canvas according to the decoded YUV or RGB format of each frame data. The invention has no limitation on the type and version of the browser, and has the advantages of saving manpowerand material resources and shortening development time.

Description

technical field [0001] The invention relates to the technical field of computer software engineering, in particular to a method and system for playing video in a browser webpage. Background technique [0002] With the construction and development of safe city video surveillance systems, the platforms and equipment of most domestic video surveillance manufacturers have already supported the GB / T 28181-2016 "Public Security Video Surveillance Networking System Information Transmission, Exchange, and Control Technical Requirements" standard specification , the GB / T 28181-2016 standard stipulates the interconnection structure of the public security video surveillance network system, the basic requirements and security requirements for transmission, exchange, and control, as well as the technical requirements for control, transmission process, and protocol interface. The unified GB / T 28181 protocol is used to control the transmission of audio and video media data, which effective...

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): H04L29/06H04N21/4402H04N21/4782H04N21/6437
CPCH04L65/1066H04N21/440218H04N21/4782H04N21/6437H04L65/75H04L65/1104H04L65/65H04L65/70
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