Media stream playing control method and equipment based on TCP or KCP

A playback control and media streaming technology, applied in the field of media streaming, can solve problems such as disconnection, loss of media streaming sources, unstable channel connection, etc., to avoid long-term waiting, improve experience, and reduce stuttering effects

Pending Publication Date: 2021-12-28
深圳市德普光业科技有限公司 +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the problem that when the streaming media in the prior art is played on the Internet, the disconnection is often caused due to the unstable connection of the channel route, resulting in the loss of the media stream source, so that the user needs to reconnect, and in the media stream When playing, the situation of freezing often occurs, resulting in the disadvantage of poor user experience, and a media stream playback control method and device based on TCP or KCP are proposed

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
  • Media stream playing control method and equipment based on TCP or KCP
  • Media stream playing control method and equipment based on TCP or KCP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.

[0035] refer to figure 1 , a method for controlling media streaming based on TCP or KCP, comprising;

[0036] S100. Establish a dual connection with the media stream source;

[0037] S200. Obtain the current network type and network speed status;

[0038] S300. Select a playback mode according to the network type and network speed, and after the selection of the playback mode is completed, buffer the unplayed part while playing;

[0039] S400. When the user performs fast-forward playback under normal playback conditions, a short-wait playback mechanism is triggered.

[0040] Specifically, in S100, dual connections include:

[0041] main channel network connection...

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 media streams, in particular to a media stream playing control method based on TCP or KCP. The method comprises the following steps of: establishing dual connection with a media stream source; acquiring a current network type and a network speed condition; selecting a playing mode according to the network type and the network speed condition, and after the selection of the playing mode is completed, caching unplayed parts while playing; and when the user performs fast forward playing under the normal playing condition, triggering a short waiting playing mechanism. According to the media stream playing control method, by setting and establishing dual connection with the media stream source, acquiring the current network type and the network speed condition, and selecting the playing mode according to the network type and the network speed condition, when the user performs fast forward playing under the normal playing condition, the short waiting playing mechanism is triggered, and therefore, the method has the functions of disconnection prevention, jamming prevention, play mode selection, quick loading and the like.

Description

technical field [0001] The present invention relates to the technical field of media streams, in particular to a TCP or KCP-based media stream play control method and device. Background technique [0002] Media streaming is a technology that enables streaming media to be played on the Internet in a streaming manner. The audio, video or multimedia files transmitted through the network do not download the entire file before playing, and the data stream is transmitted and played at any time. With the popularization of Internet applications, the data transmitted on the network is not limited to text and graphics. The dissemination of sound and video has brought new enjoyment to the majority of netizens. Under such circumstances, traditional film and television media from all over the world have joined the Internet field one after another, expanding their own communication methods. [0003] In the prior art, when streaming media is played on the Internet, disconnection often oc...

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/643H04N21/647
CPCH04L65/80H04N21/643H04N21/64738H04L65/65
Inventor 张雄坚
Owner 深圳市德普光业科技有限公司
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