Method and apparatus for playing live streams in live broadcast room, computer storage medium, and device

A playback method and technology of live streaming, which is applied in the field of webcasting, and can solve problems such as affecting the pulling process of live streaming, being too late to pull live streaming, and freezing during live streaming.

Active Publication Date: 2017-12-19
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing live broadcast software, usually, the fetching and decoding of the live stream are performed in the same thread, and for the live stream, the higher the resolution of the live stream, the longer the decoding time of the live stream, so , the decoding process of the live stream will inevitably affect the pulling process of the live stream, so that there will be a phenomenon that it is too late to pull a new live stream, causing the live stream to freeze

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 apparatus for playing live streams in live broadcast room, computer storage medium, and device
  • Method and apparatus for playing live streams in live broadcast room, computer storage medium, and device
  • Method and apparatus for playing live streams in live broadcast room, computer storage medium, and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0063] An embodiment of the present application provides a method for playing a live stream in a live broadcast room, which is applied to a client, and a user can watch the live broadcast in the live broadcast room through the client. In the method for playing the live stream in the live broadcast room of the present application, the decoding thread and the streaming thread are two different threads, and the decoding process and the...

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 relates to the technical field of network broadcast and particularly relates to a method and apparatus for playing live streams in a live broadcast room, a computer storage medium, and a device. The method comprises the following steps: decoding cached and undecoded live stream data in a live stream data cache queue by use of a decoding thread; storing decoded data in a live data output list and playing the data; during the decoding process of the decoding thread, judging whether a first time length of the cached and undecoded live stream data in the live stream data cache queue is greater than a first time length threshold; if the first time length is smaller than or equal to the first time length threshold, pulling, by a pulling thread, new live stream data and caching the new live stream data into the live stream data cache queue; and if the first time length is greater than the first time length threshold, stopping, by the pulling thread, pulling the new live stream data until the first time length is smaller than or equal to the first time length threshold. According to the invention, the problem of stagnation in a live broadcast process is solved, and the live broadcast process becomes smooth.

Description

technical field [0001] The present invention relates to the technical field of network live broadcasting, in particular to a method, device, computer storage medium and equipment for playing live streams in a live broadcasting room. Background technique [0002] With the rise of live broadcast platforms, various live broadcast software emerges in an endless stream, from traditional PC players, to Flash players in browsers, to mobile players, all of which can be used to watch video streams in live broadcast rooms. For live broadcast software, its core technology is the pulling and decoding of live streams. [0003] In the existing live broadcast software, usually, the fetching and decoding of the live stream are performed in the same thread, and for the live stream, the higher the resolution of the live stream, the longer the decoding time of the live stream, so , The decoding process of the live stream will inevitably affect the pulling process of the live stream, so that i...

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/443H04N21/858H04N21/433
CPCH04N21/4331H04N21/443H04N21/4431H04N21/8586
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products