CN109151614A - A kind of method and device reducing the delay of HLS live play - Google Patents

A kind of method and device reducing the delay of HLS live play Download PDF

Info

Publication number
CN109151614A
CN109151614A CN201710462373.4A CN201710462373A CN109151614A CN 109151614 A CN109151614 A CN 109151614A CN 201710462373 A CN201710462373 A CN 201710462373A CN 109151614 A CN109151614 A CN 109151614A
Authority
CN
China
Prior art keywords
terminal
broadcast
file
hls
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710462373.4A
Other languages
Chinese (zh)
Other versions
CN109151614B (en
Inventor
周美艳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710462373.4A priority Critical patent/CN109151614B/en
Publication of CN109151614A publication Critical patent/CN109151614A/en
Application granted granted Critical
Publication of CN109151614B publication Critical patent/CN109151614B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of method and devices of reduction HLS live play delay, are related to stream media technology field, and method, which includes: CDN network, is processed into the source code flow from source containing acting the HLS code stream broadcast label and describe file for broadcasting small fragment;When receiving the live play request of terminal transmission, CDN network judges whether the terminal is the terminal supported to broadcast label and described file according to live play request;If it is determined that the terminal is to have supported to broadcast the terminal that label describes file, then CDN network include the HLS code stream broadcast label and describe file to terminal transmission, and the terminal is made to broadcast broadcasting label and describe file and starting to be broadcast live for small fragment using receiving in HLS code stream.

Description

A kind of method and device reducing the delay of HLS live play
Technical field
The present invention relates to stream media technology field, in particular to a kind of method and device for reducing the delay of HLS live play.
Background technique
HLS (HTTP Live Streaming, hypertext live stream) agreement is that Apple Inc. (Apple Inc.) is realized Based on the streaming media transmission protocol of HTTP (HyperText Transfer Protocol, hypertext transfer protocol), in recent years, HLS protocol is widely applied in Streaming Media field, can be according to network bandwidth certainly because the agreement is transmitted using HTTP Code rate is adaptively adjusted, i.e. permission server is the media stream that same programme content stores multiple and different code rates, and terminal can root The code rate of the media stream to be downloaded is adaptively adjusted according to actual network speed of download, in network bandwidth anxiety, eventually End can realize uninterrupted play by reducing code rate;And relative to other streaming media communication agreements, HLS protocol is in service arrangement When can be preferably compatible with other the relevant technologies.There are one very big advantages by HLS: HTML5 (Hyper Text Markup Language5, hypertext markup language 5) broadcasting can be directly opened, this means can be a live streaming chain The forwardings such as wechat sharing was connected, does not need that any independent APP is installed, has browser, so popularity is very high.
Due to these advantages of HLS protocol, live streaming media is widely applied OTT (Over The Top), but phase For common live streaming media agreement, such as RTMP (Real Time Messaging Protocol, real-time messages transmission association View) agreement, RTSP (Real Time Streaming Protocol, real time streaming transport protocol) agreement, MMS (Microsoft Media Serverprotocol, streaming media transportation protocol) agreement etc., HLS is broadcast live maximum difference and is, client is broadcast live It gets, is not a complete data flow.Live data streams are stored as continuously, very by HLS protocol in server end Long media file (MPEG-TS (Moving Picture Experts Group-Transport Stream, Dynamic Graph in short-term As Experts Group-Transport Stream) format), and client is then constantly downloaded and plays these small documents, because server end always can Newest live data is generated to new small documents, as long as such client is ceaselessly played in order and got from server File is achieved that live streaming.As shown in Figure 1, substantially client needs to start to play after requesting 3 small documents, therefore Rising for it broadcasts delay and generally can always be higher than common live streaming media agreement.
Summary of the invention
The technical issues of scheme that provides according to embodiments of the present invention solves is that HLS direct broadcast band acts that broadcast delay time long. (Content Delivery Network, content distributing network) (User Datagram Protocol, User Datagram Protocol View)
A kind of method of the reduction HLS live play delay provided according to embodiments of the present invention, comprising:
Source code flow from source is processed into and broadcasts rising for small fragment and broadcast label and describe file containing rising by CDN network HLS code stream;
When receiving the live play request of terminal transmission, CDN network judges the end according to live play request Whether end is to have supported to broadcast the terminal that label describes file;
If it is determined that the terminal is to have supported to broadcast the terminal that label describes file, then CDN network sends to the terminal and wraps Containing the HLS code stream broadcast label and describe file is acted, so that the terminal is broadcast rising for small fragment using rising in reception HLS code stream and broadcast label Description file starts to be broadcast live.
Preferably, further includes: CDN network judges that the terminal describes file not supported to broadcast label according to the request Terminal when, broadcast rising to broadcast label and describe the HLS code stream of file and being sent to terminal for small fragment for not contained.
Preferably, the source code flow includes UDP code stream or HLS code stream;Wherein, if the CDN network is received original Code stream is that UDP code stream includes:
CDN network receives the UDP code stream that source is sent by udp protocol;
CDN network by received UDP code stream slicing treatment at the HLS code stream comprising original description file.
Preferably, the CDN network by the source code flow from source be processed into containing rise broadcast small fragment rise broadcast label Description file HLS code stream include:
The CDN network by media slicing conversion process in the original description file at virtual small fragment;
The CDN network parses the I frame information in the virtual small fragment, obtains having included to broadcast rising for small fragment Broadcast the HLS code stream that label describes file.
Preferably, described when receiving the live play request of terminal transmission, CDN network is requested according to the live play Judge whether the terminal is to have supported to broadcast label and describe the terminal of file to include:
CDN network is analyzed by the live play request sent to terminal, is determined in the live play request Whether the field of broadcasting is supported comprising terminal;
If it is determined that supporting the field played comprising terminal in the live play request, then CDN network judges terminal for branch It has held and has broadcast the terminal that label describes file;
If it is determined that not including terminal in the live play request supports the field played, then CDN network judges that terminal is It has not supported to broadcast the terminal that label describes file.
A kind of device of the reduction HLS live play delay provided according to embodiments of the present invention, comprising:
Processing module, for by the source code flow from source be processed into containing rise broadcast small fragment rise broadcast label description text The HLS code stream of part;
Judgment module, for requesting to judge according to the live play when receiving the live play request of terminal transmission Whether the terminal is to have supported to broadcast the terminal that label describes file;
Sending module, for when determining that the terminal is the terminal supported to broadcast label and described file, then to the terminal Transmission has included the HLS code stream broadcast label and describe file, and the terminal is made to broadcast rising for small fragment using rising in HLS code stream is received It broadcasts label and describes file and start to be broadcast live.
Preferably, the sending module is also used to judge the terminal according to the request not supported to broadcast label description When the terminal of file, rising to broadcast label and describe the HLS code stream of file and being sent to terminal for small fragment is broadcast by not contained.
Preferably, the source code flow includes UDP code stream or HLS code stream;Wherein, the processing module is also used to pass through Udp protocol receives the UDP code stream that source is sent, and by received UDP code stream slicing treatment at including original description file HLS code stream.
Preferably, the processing module be specifically used for by media slicing conversion process in the original description file at Virtual small fragment, and the I frame information in the virtual small fragment is parsed, it obtains having included to broadcast rising for small fragment to broadcast label The HLS code stream of file is described.
Preferably, the judgment module includes:
Determination unit is analyzed for the live play request by sending to terminal, determines that the live play is asked Whether the User-Agent field in asking is EXT-I-FRAMES;
Judging unit, for being EXT-I-FRAMES when the User-Agent field in the determining live play request, Judge terminal then to have supported to broadcast the terminal that label describes file, and when determining the User- in the live play request Agent field is not EXT-I-FRAMES, then judges terminal not supported to broadcast the terminal that label describes file.
The scheme provided according to embodiments of the present invention, it is a kind of to reduce each fragment duration, such as 1s, while in description file Middle to increase the media file that additional tags mark includes I frame, whens terminal plays, requests since the media file for having I frame, requests Start to broadcast after three 1s slicing files, thus can be reduced HLS and be broadcast live and broadcast delay, to promote user experience effect.And And the terminal for supporting the label, terminal play record time started sowing time, after playing a period of time (configurable), server It is switched to the mode for sending original description file, to reduce http request link number improving performance.
Detailed description of the invention
Fig. 1 is to be broadcast live sowing time using HLS before the present invention to prolong schematic diagram;
Fig. 2 is a kind of method flow diagram for reducing the delay of HLS live play provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic device for reducing the delay of HLS live play provided in an embodiment of the present invention;
Fig. 4 is that HLS provided in an embodiment of the present invention has been broadcast live sowing time and prolongs schematic diagram;
Fig. 5 is the system schematic of reduction HLS live play delay provided in an embodiment of the present invention;
Fig. 6 is the system group network figure of reduction HLS live play delay provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing to a preferred embodiment of the present invention will be described in detail, it should be understood that described below is excellent Select embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention.
Fig. 2 is a kind of method flow diagram for reducing the delay of HLS live play provided in an embodiment of the present invention, as shown in Fig. 2, Include:
Source code flow from source is processed into and broadcasts rising for small fragment and broadcast label and retouch containing rising by step S201:CDN network State the HLS code stream of file;
Step S202: when receiving the live play request of terminal transmission, CDN network is sentenced according to live play request Whether the terminal of breaking is to have supported to broadcast the terminal that label describes file;
Step S203: if it is determined that the terminal is to have supported to broadcast the terminal that label describes file, then CDN network is to the end It has included the HLS code stream broadcast label and describe file that end, which is sent, and the terminal is made to broadcast small fragment using rising in HLS code stream is received It rises to broadcast label and describe file and starts to be broadcast live.
The embodiment of the invention also includes: CDN network judges that the terminal is retouched not supported to broadcast label according to the request When stating the terminal of file, rising to broadcast label and describe the HLS code stream of file and being sent to terminal for small fragment is broadcast by not contained.
Wherein, the source code flow includes UDP code stream or HLS code stream;Wherein, if the received source code of the CDN network Stream is that UDP code stream includes: the UDP code stream that CDN network receives source transmission by udp protocol;CDN network is by the received UDP of institute Code stream slicing treatment is at the HLS code stream comprising original description file.
Wherein, the source code flow from source is processed into and broadcasts rising for small fragment and broadcast label and retouch containing rising by the CDN network The HLS code stream for stating file include: the CDN network by media slicing conversion process in the original description file at virtual Small fragment;The CDN network parses the I frame information in the virtual small fragment, obtains having included to broadcast rising for small fragment Broadcast the HLS code stream that label describes file.
Wherein, described when receiving the live play request of terminal transmission, CDN network is sentenced according to live play request Whether the terminal of breaking is to have supported that broadcasting label to describe the terminal of file includes: CDN network by broadcasting to the live streaming that terminal is sent It puts request to be analyzed, determines the field for whether supporting broadcasting comprising terminal in the live play request;If it is determined that described The field played is supported comprising terminal in live play request, then CDN network judges terminal to have supported to broadcast label and having described file Terminal;If it is determined that not including terminal in the live play request supports the field played, then CDN network judges terminal for not It has supported to broadcast the terminal that label describes file.That is, CDN network is divided by the live play request sent to terminal Analysis determines whether the User-Agent field in the live play request is EXT-I-FRAMES;If it is determined that described broadcast Putting the User-Agent field in request is EXT-I-FRAMES, then CDN network judges terminal to have supported to broadcast label description text The terminal of part;If it is determined that the User-Agent field in the live play request is not EXT-I-FRAMES, then CDN network is sentenced Disconnected terminal is not supported to broadcast the terminal that label describes file.
Fig. 3 is a kind of schematic device for reducing the delay of HLS live play provided in an embodiment of the present invention, as shown in figure 3, Include: processing module 301, for by the source code flow from source be processed into containing rise broadcast small fragment rise broadcast label description text The HLS code stream of part;Judgment module 302, for being asked according to the live play when receiving the live play request of terminal transmission It asks and judges whether the terminal is to have supported to broadcast the terminal that label describes file;Sending module 303, for when the determining terminal To have supported to broadcast the terminal that label describes file, then includes the HLS code stream broadcast label and describe file to terminal transmission, made The terminal broadcasts rising to broadcast label and describe file and starting to be broadcast live for small fragment using rising in HLS code stream is received.
Wherein, the sending module 303 is also used to judge that the terminal is retouched not supported to broadcast label according to the request When stating the terminal of file, rising to broadcast label and describe the HLS code stream of file and being sent to terminal for small fragment is broadcast by not contained.
Wherein, the source code flow includes UDP code stream or HLS code stream;Wherein, the processing module 301 is also used to pass through Udp protocol receives the UDP code stream that source is sent, and by received UDP code stream slicing treatment at including original description file HLS code stream.
Wherein, the processing module 301 is specifically used for by media slicing conversion process in the original description file It is parsed at virtual small fragment, and by the I frame information in the virtual small fragment, obtains having included to broadcast rising for small fragment to broadcast mark The HLS code stream of label description file.
Wherein, the judgment module 302 comprises determining that unit, for by the live play that terminal is sent request into Row analysis determines the field whether played comprising terminal support in the live play request;Judging unit, for when determination The field played is supported comprising terminal in live play request, then judges terminal to have supported to broadcast the end that label describes file End, and support the field played not comprising terminal when determining in the live play request, then terminal is judged not supported Broadcast the terminal that label describes file.
Fig. 5 is the system schematic of reduction HLS live play delay provided in an embodiment of the present invention, as shown in figure 5, packet It includes: source, receiving module, slice conversion module, HLS bit stream module and terminal.
Wherein, the source can be divided into two major classes, UDP code stream source or HLS code stream source, wherein HLS code stream source, include description File and fragment media file;UDP the HLS code stream of source is introduced into inside the CDN network of OTT by the receiving module; Code stream is sliced into HLS common code stream first if source is UDP code stream by the slice conversion module, while generating the void of 1s Intend the description file of small fragment, wherein introducing new label with the small fragment that I frame starts;If source is HLS code stream, parsing point I frame information in piece file, generates the description file of the virtual small fragment of 1s, as shown in figure 4, being drawn with the small fragment that I frame starts Enter new label.Increased label is seen below:
#EXT-X-I-FRAMES-MEDIA
Described HLS bit stream module, such as http protocol etc., by the description file comprising new label, original description text Part and slicing files transmit in entire CDN node;The terminal, i.e. HLS code stream play end, if the terminal is supported to increase newly Label, server-side will just be returned comprising the description file for increasing label newly, otherwise return to original description file.The terminal of support is direct It is requested since being described in file the corresponding media file of first label position.Whether terminal is supported can be in broadcasting Particular value in HTTP request in field is distinguished, such as: User-Agent:EXT-I-FRAMES, for supporting the label Terminal, terminal play record time started sowing time, and after playing a period of time (configurable), server is switched to transmission original description The mode of file, to reduce http request link number improving performance.
Fig. 6 is the system group network figure of reduction HLS live play delay provided in an embodiment of the present invention, as shown in fig. 6, packet It includes:
The first step, source provides source code flow, UDP code stream source or HLS code stream source, for example passes through IPTV (Internet Protocol Television, Internet protocol TV) encoder obtains UDP code stream, and HLS content supplier passes through HLS encoder HLS source code flow is obtained, wherein including description file and media file;
Second step, central node receive above-mentioned source code flow using UDP/HTTP agreement, are sliced change server for code stream It is converted into the description file comprising new label, this describes the virtual small fragment that fragment media file in file is 1s, if original Code stream is UDP, synchronous to generate common description file, such as mono- fragment of 10s.
Third step, the HLS code stream that slice change server obtains are distributed inside entire CDN network, eventually arrive at edge Node;
4th step, HLS terminal are requested to fringe node, are carried out HLS live play, are supported the terminal of new label, server Send include new label description file, it is on the contrary then return to common description file.
5th step, for supporting the terminal of newly-increased label, after playing a period of time, server is switched to common description text Part mode.
The implementation of technical solution is described in further detail below, by taking code stream source is HLS code stream as an example:
HLS content supplier provides HLS content by HLS encoder, including master index index.m3u8, subindex $ rateid.m3u8 and the corresponding ts file of subindex.
The HLS code stream that the central node of OTT CDN receives encoder is stored in local, the slice Transformation Service of central node Device parses the I frame information in slicing files, generates the description file of the virtual small fragment of 1s, is introduced with the small fragment that I frame starts New label.Conversion is implemented as follows:
1, master index index.m3u8 is remained unchanged in conversion process, need to only increase the subindex comprising newly-increased label, Common subindex content is as follows:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10
1.ts
#EXTINF:10
2.ts
#EXTINF:10
3.ts
2, the media slicing file for including in simple index is converted into the virtual fragment of mono- fragment of 1s, and carries out I frame Parsing obtains the new subindex file comprising mark I frame information label, and content is as follows:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:1
1.ts? zbytes=0-100
#EXTINF:1
1.ts? zbytes=101-200
#EXT-X-I-FRAMES-MEDIA
#EXTINF:1
1.ts? zbytes=201-300
……
3, master index, two class subindexs, media file transmit in entire OTT CDN network, final bit stream to side Edge node.
4, terminal request fringe node plays, transmission live play request URL (Uniform Resource Locator, Uniform resource locator), request master index index.m3u8 first, server end is according to User- in terminal request http Whether Agent field is EXT-I-FRAMES to determine the subindex for sending common subindex and still increasing newly-increased label.
5, the terminal for increasing label newly for support, after it plays and stablizes for a period of time, server-side, which is switched to, to be sent commonly The mode of subindex file can be reduced the link number of http request in this way, economize on resources to which improving performance and user experience are imitated Fruit.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.Such as For DASH (Dynamic Adaptive Streaming over HTTP, the dynamic self-adapting stream based on HTTP), HSS (Home Subscriber Server, home signature user server) this kind of index file+media file format it is also the same It is applicable in.
The scheme provided according to embodiments of the present invention, by reducing each fragment duration, such as 1s, while in description file Middle to increase the media file that additional tags mark includes I frame, whens terminal plays, requests since the media file for having I frame, requests Start to broadcast after three 1s slicing files, thus can be reduced HLS and be broadcast live and broadcast delay, to promote user experience effect.
Although describing the invention in detail above, but the invention is not restricted to this, those skilled in the art of the present technique It can be carry out various modifications with principle according to the present invention.Therefore, all to be modified according to made by the principle of the invention, all it should be understood as Fall into protection scope of the present invention.

Claims (10)

1. a kind of method for reducing the delay of HLS live play, comprising:
Source code flow from source is processed into and broadcasts rising for small fragment and broadcast the HLS code that label describes file containing rising by CDN network Stream;
When receiving the live play request of terminal transmission, CDN network judges that the terminal is according to live play request No is to have supported to broadcast the terminal that label describes file;
If it is determined that the terminal is to have supported to broadcast the terminal that label describes file, then CDN network includes to terminal transmission The HLS code stream that label describes file is broadcast, so that the terminal is broadcast rising for small fragment using rising in reception HLS code stream and broadcasts label description File starts to be broadcast live;
Wherein, the HLS refers to hypertext live stream;The CDN refers to content distributing network.
2. according to the method described in claim 1, further include: CDN network judges the terminal according to the request not support It rises when broadcasting label and describing the terminal of file, will contain the label of broadcasting for broadcasting small fragment and described the HLS code stream of file and be sent to Terminal.
3. according to the method described in claim 1, the source code flow includes UDP code stream or HLS code stream;Wherein, if the CDN The received source code flow of network is that UDP code stream includes:
CDN network receives the UDP code stream that source is sent by udp protocol;
CDN network by received UDP code stream slicing treatment at the HLS code stream comprising original description file;
Wherein, the UDP refers to User Datagram Protocol;The HTTP refers to hypertext transfer protocol.
4. according to the method described in claim 3, the CDN network by the source code flow from source be processed into containing rise broadcast it is small The rising of fragment, which broadcasts label and describe the HLS code stream of file, includes:
The CDN network by media slicing conversion process in the original description file at virtual small fragment;
The CDN network parses the I frame information in the virtual small fragment, obtains having included to broadcast rising for small fragment to broadcast mark The HLS code stream of label description file.
5. according to the method described in claim 4, it is described when receive terminal transmission live play request when, CDN network according to Live play request judges whether the terminal is to have supported to broadcast label and describe the terminal of file to include:
CDN network is analyzed by the request of the live play that sends to terminal, determine in the live play request whether The field played is supported comprising terminal;
If it is determined that supporting the field played comprising terminal in the live play request, then CDN network judges terminal to support Broadcast the terminal that label describes file;
If it is determined that not including terminal in the live play request supports the field played, then CDN network judges terminal not prop up It has held and has broadcast the terminal that label describes file.
6. a kind of device for reducing the delay of HLS live play, comprising:
Processing module broadcasts rising for small fragment and broadcasts label and describe file containing rising for being processed into the source code flow from source HLS code stream;
Judgment module, for when receive terminal transmission live play request when, according to the live play request judgement described in Whether terminal is to have supported to broadcast the terminal that label describes file;
Sending module, for when determining that the terminal be the terminal supported to broadcast label and described file, then to terminal transmission Comprising acting the HLS code stream broadcast label and describe file, so that the terminal is broadcast rising for small fragment using rising in reception HLS code stream and broadcast mark Label description file starts to be broadcast live;
Wherein, the HLS refers to hypertext live stream;The CDN refers to content distributing network.
7. device according to claim 6, the sending module is also used to judge the terminal for not according to the request When having supported that broadcasting label describes the terminal of file, by do not contained broadcast small fragment rise broadcast label describe file HLS code stream send out Give terminal.
8. device according to claim 6, the source code flow includes UDP code stream or HLS code stream;Wherein, the processing Module is also used to receive the UDP code stream that source is sent by udp protocol, and by the received UDP code stream slicing treatment of institute at comprising The HLS code stream of original description file;
Wherein, the UDP refers to User Datagram Protocol;The HTTP refers to hypertext transfer protocol.
9. device according to claim 8, the processing module is specifically used for by matchmaker in the original description file Body fragment conversion process is parsed at virtual small fragment, and by the I frame information in the virtual small fragment, obtains having included to broadcast The HLS code stream that label describes file is broadcast in rising for small fragment.
10. device according to claim 9, the judgment module include:
Determination unit is analyzed for the live play request by sending to terminal, is determined in the live play request Whether comprising terminal support play field;
Judging unit, for when determining the field played in the live play request comprising terminal support, then judging that terminal is It has supported to broadcast the terminal that label describes file, and has supported the word played not comprising terminal when determining in the live play request Section judges terminal then not supported to broadcast the terminal that label describes file.
CN201710462373.4A 2017-06-19 2017-06-19 Method and device for reducing HLS live broadcast delay Active CN109151614B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710462373.4A CN109151614B (en) 2017-06-19 2017-06-19 Method and device for reducing HLS live broadcast delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710462373.4A CN109151614B (en) 2017-06-19 2017-06-19 Method and device for reducing HLS live broadcast delay

Publications (2)

Publication Number Publication Date
CN109151614A true CN109151614A (en) 2019-01-04
CN109151614B CN109151614B (en) 2023-05-16

Family

ID=64803930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710462373.4A Active CN109151614B (en) 2017-06-19 2017-06-19 Method and device for reducing HLS live broadcast delay

Country Status (1)

Country Link
CN (1) CN109151614B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324727A (en) * 2019-07-16 2019-10-11 浙江大华技术股份有限公司 Computer readable storage medium, server and its method for responding playing request
CN110933476A (en) * 2019-12-06 2020-03-27 杭州视洞科技有限公司 HLS first screen time optimization scheme based on Relay
CN111726652A (en) * 2020-07-03 2020-09-29 湖南快乐阳光互动娱乐传媒有限公司 Audio live stream slicing method and device
CN112584182A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Data packet packaging method for multi-code-rate live broadcast transcoding and related equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007149029A1 (en) * 2006-06-19 2007-12-27 Telefonaktiebolaget Lm Ericsson (Publ) Media channel management
CN105025330A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Media file playing control method and apparatus based on DASH protocol
CN105516115A (en) * 2015-12-02 2016-04-20 华为技术有限公司 Method for quickly broadcasting channel and user equipment UE
CN106790005A (en) * 2016-12-13 2017-05-31 武汉市烽视威科技有限公司 Realize the live system and methods of low delay HLS

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007149029A1 (en) * 2006-06-19 2007-12-27 Telefonaktiebolaget Lm Ericsson (Publ) Media channel management
CN105025330A (en) * 2014-04-30 2015-11-04 深圳Tcl新技术有限公司 Media file playing control method and apparatus based on DASH protocol
CN105516115A (en) * 2015-12-02 2016-04-20 华为技术有限公司 Method for quickly broadcasting channel and user equipment UE
CN106790005A (en) * 2016-12-13 2017-05-31 武汉市烽视威科技有限公司 Realize the live system and methods of low delay HLS

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324727A (en) * 2019-07-16 2019-10-11 浙江大华技术股份有限公司 Computer readable storage medium, server and its method for responding playing request
US11849157B2 (en) 2019-07-16 2023-12-19 Zhejiang Dahua Technology Co., Ltd. Systems and methods for live streaming
CN112584182A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Data packet packaging method for multi-code-rate live broadcast transcoding and related equipment
CN112584182B (en) * 2019-09-30 2024-01-09 华为云计算技术有限公司 Data packet encapsulation method for multi-code-rate live transcoding and related equipment
CN110933476A (en) * 2019-12-06 2020-03-27 杭州视洞科技有限公司 HLS first screen time optimization scheme based on Relay
CN111726652A (en) * 2020-07-03 2020-09-29 湖南快乐阳光互动娱乐传媒有限公司 Audio live stream slicing method and device
CN111726652B (en) * 2020-07-03 2022-04-26 湖南快乐阳光互动娱乐传媒有限公司 Audio live stream slicing method and device

Also Published As

Publication number Publication date
CN109151614B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN103051931B (en) Review performance recording, playback method, server, client and system
US10506058B2 (en) Signaling of application content packaging and delivery
US9882937B2 (en) Communication receiver
KR101734168B1 (en) Media file receiving and media file sending methods, apparatuses, and systems
US20180288468A1 (en) Reception apparatus, transmission apparatus, and data processing method
CN109151614A (en) A kind of method and device reducing the delay of HLS live play
CN103813185B (en) A kind of method that segment programs are quickly distributed, server and client
CN108063769B (en) Method and device for realizing content service and content distribution network node
US20140074961A1 (en) Efficiently Delivering Time-Shifted Media Content via Content Delivery Networks (CDNs)
TW201021573A (en) Proxy functionality
US20110035442A1 (en) Adaption of Metadata Based on Network Conditions
US11503098B2 (en) Embedding MQTT messages in media streams
US20080281803A1 (en) Method of Transmitting Content With Adaptation of Encoding Characteristics
KR20120047987A (en) A method of switching media content for a mobile apparatus
JP6359539B2 (en) Control during rendering
CN105812847A (en) HLS video live broadcast method, server and system
CN106961630A (en) A kind of P2P streaming media video player methods optimized based on DASH
CN112714335A (en) Live media stream recording method, system and computer readable storage medium
Van Deursen et al. On media delivery protocols in the web
CN110832821B (en) Method and apparatus for downloading audiovisual content
CN110933476A (en) HLS first screen time optimization scheme based on Relay
US11831702B2 (en) Method for broadcasting DASH/HLS hybrid multimedia streams
CN103796035A (en) Method for processing segmented programs, server and client device
CN113891176A (en) HLS-based on-demand flow control method, device, equipment and storage medium
WO2016090912A1 (en) Method, device, terminal and system for generating and playing live video

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant