Adaptive Bitrate Streaming Of Live Content with Manifest Update Push Notification or Long Poll
There is provided a client device for receiving a live adaptive bitrate stream, the client device further arranged to receive a manifest of segments of which the live adaptive bitrate stream is comprised and request at least one segment of the live adaptive bitrate stream. The client device is further arranged to subscribe to a push service associated with the manifest files for the live adaptive bitrate stream.
This application is a continuation of U.S. application Ser. No. 16/324,590 filed 11 Feb. 2019, which is a National Phase Application of PCT/EP2017/068866 filed 26 Jul. 2017, which claims benefit of Provisional Application No. 62/373,536 filed 11 Aug. 2016. The entire contents of each aforementioned application is incorporated herein by reference.
TECHNICAL FIELDThe present application relates to a client device, a method in a client device, a server, a method in a server, an apparatus for receiving a live adaptive bitrate stream, an apparatus for delivering a live adaptive bitrate stream, and a computer-readable medium.
BACKGROUNDAdaptive bitrate (ABR) streaming has become an important technology for delivering video content over an Internet connection, This technology allows for a variation in bandwidth which is typical for a home internet connection. This variation may be due to local contention with other devices and users in the home using the same modem connection for other purposes. A further cause for the variation in available bandwidth is local loop contention where the bandwidth between a plurality of modems in a neighborhood must be shared between a respective plurality of homes.
ABR streaming allows for a variation in bandwidth by measuring the available bandwidth between a streaming device and a server that is sending the streamed video content, and providing the video stream at a bit rate that maximizes the use of the available bandwidth. To achieve this, a server that uses ABR make the streamed video available in a series of segments, with each segment available in multiple versions, each version encoded at a different bit rate. The ABR streaming client in the streaming device then selects the appropriate segments. The available bit rates are normally fixed.
To allow the ABR streaming client to identify and retrieve appropriate segments of the ABR stream, the server lakes a manifest file (also referred to as a manifest) available to ABR streaming clients. The manifest file lists the segments of the video stream that the server has available for download. A streaming client must first download the manifest file before it can identify which segments to download. The streaming client then requests the appropriate segments and once it receives these it can begin decoding and presenting the content.
Adaptive Bit Rate (ABR) using HTTP Adaptive Streaming (HAS) is increasingly used as a format for live operation. That is, delivery of live video content. Live content may be defined as ‘not pre-recorded’, and includes content that is generated and substantially immediately distributed to a client device. HTTP Adaptive Streaming was developed originally with on-demand content in mind, where all the segments are known before streaming begins. With on-demand content, all manifests that describe the segments of a piece of content are available for a client to download when streaming of that piece of content begins. When a client requests a manifest related to on-demand content, that manifest will be available for that client.
Fundamentally, when ABR streaming is applied to live content, segments are generated only shortly before the client receives them. As such, manifest files must be created as the segments related to the live content are created. If a client requests an updated manifest file before it has been created, it will not receive the file, and will have to re-request it a short time later. However, the client has no way of knowing when the updated manifest file will be available. For example, in live operation, HAS manifest files are updated each time a new complete segment of media data is available. The time interval between new segments becoming available is unlikely to be constant as it will depend on the content and encoding complexity.
To find an updated manifest the client polls the server to download the servers current manifest. If a poll comes in immediately before the manifest is updated, so the poll just misses the update, then the client will have to wait until the next poll to receive the updated manifest. This results in a significant and variable latency between the availability of new media segments and when the client is aware of there. This latency can be up to a complete poll interval (typically several seconds). This in turn leads to more difficult buffering and in the presence of congestion or limited bandwidth can lead to impairment of client playback such as stalling or excessively changing bit rates. When the segment sizes are widely variable (for example due to advertising), the impairments are even more significant.
More frequent polling by clients would reduce any time delay between a manifest being made available and it being downloaded by a client, but this would result in increased signaling overhead which would be particularly problematic for streaming severs having many concurrent users.
The updated manifest will likely include segments that were listed on the previous manifest, hence it is aptly referred to as an update. How ever, practice this is a new file, and so the updated manifest can be referred to as a new manifest file, or a new manifest. Herein it will be referred to as an updated manifest.
SUMMARYThere is provided a client device for receiving a live adaptive bitrate stream, the client device further arranged to receive a manifest of segments of which the live adaptive bitrate stream is comprised and request at least one segment of the live adaptive bitrate stream. The client device is further arranged to subscribe to a push service associated with the manifests for the live adaptive bitrate stream.
The address for subscription to the push service associated with the manifests for the live adaptive bitrate stream may be included its a manifest. Upon receiving the first manifest of a live adaptive stream, the client device detects the address for subscribing to the push notification service and sends a subscription request to that address. The manifest of segments is also referred to as a manifest file, or simply a manifest.
The push service may use HTTP long poll. The subscription to a push service may comprise sending a request for an updated manifest, the request for an updated manifest indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that, the last received manifest was generated manifest.
The client device may wait for a pushed message from the push service. The pushed message may comprise the updated manifest. The pushed message may comprise a notification that an updated manifest is available, the client device then further arranged to request an updated manifest when a notification of an updated manifest is received.
There is further provided a method in a client device arranged to receive a live adaptive bitrate stream from a server, the method comprising: receiving a manifest of segments of which the live adaptive bitrate stream is comprised; and requesting at least one segment of the live adaptive bitrate stream. The method further comprises subscribing to a push service associated with the manifests for the live adaptive bitrate stream.
The address for subscription to the push service associated with the manifests for the live adaptive bitrate stream may be included in a manifest. The method may further comprise, upon receiving the first manifest of a live adaptive stream, detecting the address for subscribing to the push notification service and sending a subscription request to that address.
The push service may comprise HTTP long poll. The subscription to a push service may comprise subscribing to a push service by sending a request for an updated manifest, the request for an updated manifest indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest was generated, and where the manifest has not been updated since that time.
The method may further comprise receiving a pushed message from the push service.
The pushed message may comprise the updated manifest. The pushed message may comprise a notification that an updated manifest is available, the client device then further arranged to request an updated manifest when a notification of an updated manifest is received.
There is further provided a server arranged to deliver a live adaptive bitrate stream, the server further arranged to: deliver adaptive bitrate segments requested by at least one client device; and distribute a manifest listing available adaptive bitrate segments. The server is further arranged to issue a pushed message to subscribing client devices when the manifest is updated with newly available adaptive bitrate segments.
The pushed message may comprise the updated manifest. The pushed message may comprise a notification that an updated manifest is available.
The server may be further arranged to receive a subscription request to a push service associated with the manifests for the live adaptive bitrate stream. The subscription request may comprise a request for an updated manifest, the request for an updated manifest indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest was generated, and where the manifest has not been updated since that time.
There is further provided a method in a server, the server arranged to deliver a live adaptive bitrate stream, the method comprising: delivering adaptive bitrate segments requested by at least one client device; and delivering a manifest listing available adaptive bitrate segments. The method further comprises issuing a pushed message to subscribing client devices when the manifest is updated with newly available adaptive bitrate segments.
The pushed message may comprise push notification that an updated manifest is available. The pushed message may comprise the updated manifest.
Each manifest issued by the server may include an address for the push notification service. A client device can subscribe to the push notification service by sending a subscription request to that address.
The method may further comprise receiving a subscription request to a push service associated with the manifests for the live adaptive bitrate stream. The push service may comprise HTTP long poll. The subscription request may comprise a request for an updated manifest, the request for an updated manifest indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest was generated, and where the manifest has not been updated since that time.
There is further provided an apparatus for receiving a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus is operative to receive a manifest of segments of which the live adaptive bitrate stream is comprised. The apparatus is further operative to request at least one segment of the live adaptive bitrate stream, and subscribe to a push service associated with the manifests for the live adaptive bitrate stream.
There is further provided an apparatus for delivering a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus is operative to: deliver adaptive bitrate segments requested by at least one client device; and distribute a manifest listing available adaptive bitrate segments. The apparatus is further operative to issue a pushed message to subscribing client devices when the manifest is updated with newly available adaptive bitrate segments.
There is further provided an apparatus for receiving a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus comprising: a module for receiving a manifest of segments of which the live adaptive bitrate stream is comprised; and a module for requesting at least one segment of the live adaptive bitrate stream. The apparatus further comprises a module for subscribing to a push service associated with the manifests for the live adaptive bitrate stream.
There is further provided an apparatus for delivering a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus comprising: a module for delivering adaptive bitrate segments requested by at least one client device; and a module for distributing a manifest listing available adaptive bitrate segments. The apparatus further comprises a module for issuing a pushed. message to subscribing client devices when the manifest is updated with newly available adaptive bitrate segments.
There is further provided a computer-readable medium, carrying instructions, which, when executed by computer logic, causes said computer logic to carry out any of the methods defined herein.
There is further provided a computer-readable storage medium, storing instructions, which, when executed by computer logic, causes said computer logic to carry out any of the methods defined herein. The computer program product may be in the form of a non-volatile memory or volatile memory, e.g. an EEPROM (Electrically Erasable Programmable Read-only Memory), a flash memory, a disk drive, or a RAM (Random-access memory).
The live adaptive bitrate stream contains live content. Live content is content that is received at the streaming system shortly before being sent to clients, any delay resulting from the time taken to process incoming data into a form ready for live ABR streaming.
A method and apparatus for improved adaptive bitrate streaming of live content will now be described, by way of example only, with reference to the accompanying drawings, in which:
In operation, the client device 150 sends a query to the HTTP server 120, the query requesting a particular live content stream. The server 120 retrieves a manifest file 110b from the origin server 100 and delivers this to the client device. The client device reads the manifest file 110b, identifies the segment it requires and sends a request for this segment to the HTTP server 120. The HTTP server 120 retrieves the requested segment 102b from the origin sever 100 and delivers this to the client device 150.
That segment will comprise perhaps 10 seconds of video content. Before that segment of video content stops playing the client device must have received a subsequent segment. To locate the subsequent segment, the client device requires an updated manifest which reflects the newly available segments. The client device 150 polls the HTTP server 120 to download the current manifest. If a poll comes in immediately before the manifest is updated, so the poll just, misses the update, then the client device 150 will have to wait until the next poll to receive the updated manifest. This results in a significant and variable latency between the availability of new media segments and when the client device 150 is aware of them. This latency can be up to a complete poll interval (typically several seconds). This in turn leads to more difficult buffering and in the presence of congestion or limited bandwidth can lead to client playback stalling or excessively changing bit rates. When the segment sizes are widely variable (for example due to advertising), the impairments are even more significant.
In practice, the client device may attempt to maintain a buffer of several segments, perhaps three 10 second segments. In that case the client device will be attempting to download the fourth segment while the first one is playing so that it can download the fifth segment while the second one is playing, and so on.
In order to address the above described problems, there is provided a system wherein the client device is further arranged to subscribe to a push service associated with the manifest files for the live adaptive bitrate stream. In this system, the server is arranged to issue a pushed message to subscribing client devices when the manifest file is updated with newly available adaptive bitrate segments. Such a system may be embodied in a plurality of ways. Two embodiments are described herein; one uses a standalone push notification that informs the client device when an updated manifest is available, the other uses a modified HTTP long poll to cause an updated manifest to be delivered to the client as soon as it becomes available.
One way to implement a push service is to use a push notification. The client subscribes to a service offering a manifest update notification service, and upon receipt of a manifest update notification, the client requests the manifest and receives the recent update.
The address for subscription to the push service associated with the manifest files for the live adaptive bitrate stream may be included in the manifest files. Upon receiving the first manifest of a live adaptive stream, the client device detects the address for subscribing to the push notification service and sends a subscription request to that address.
In operation, the client device 250 sends a query to the HTTP server 220, the query requesting a particular live content stream. The HTTP server 220 retrieves a manifest file 210b from the origin server 200 and delivers this to the client device. The client device reads the manifest file 210b, identifies the segment it requires and sends a request for this segment to the HTTP server 220. The HTTP server 220 retrieves the requested segment 202b from the origin sever 200 and delivers this to the client device 250.
To locate a subsequent segment, the client device 250 requires an updated manifest which reflects the newly available segments. In anticipation of receiving the next segment, and preferably upon initiating streaming, the client device sends a subscription request 240 to the manifest update notification system. The subscription request 240 identifies for which stream or manifest the client device 250 requires notification of updates. A file change watchdog 230 monitors the manifest file available at the origin server 200, and when it is updated, the file change watchdog pushes a manifest updated notification, via the UDP messaging service 232 to all subscribed client devices.
In response to receiving a manifest update notification message 242, the client device 250 requests the current manifest in the usual way. In this way, the client device will receive the updated manifest promptly after it is updated, allowing for better buffering and smoother playback of live content received via the streaming service.
The above arrangement comprises a client device subscribing to a push notification using a connectionless protocol such as UDP. This might take the form of either a multicast join, or the client device being added to a list of unicast UDP recipients. Alternatively, the push notice might be delivered using a connection-oriented protocol establishing a request to the same server (or its proxy), with the origin server returning a short message indicating that a manifest update has occurred.
The address for subscription to the push notification service associated with the manifest files for the live adaptive bitrate stream may be included in the manifests. Upon receiving the first manifest of a live adaptive stream, the client device detects the address for subscribing to the push notification service and sends a subscription request to that address,
Another way to implement a push service is to use HTTP long poll, HTTP Long-polling is a technique used to push updates to a web client. A connection is held open between the web client and the web server so that when the server has new information, such as an updated manifest file, it can push it to the client. That connection is then closed.
Another way to implement a push service is to use the If-Modified-Since HTTP 1.1 header for the GET manifest request. The If-Modified-Since request-header field is used with a method to make it conditional: if the requested variant has not been modified since the time specified in this field, an entity will not be returned from the server; instead, a 304 (not modified) response will be returned without any message-body.
-
- If-Modified-Since=“If-Modified-Since” “:” HTTP-date
An example of the field is:
-
- If-Modified-Since: Sat, 29 Oct. 1994 19:43:31 GMT
A GET method with an If-Modified-Since header and no Range header requests that the identified entity be transferred only if it has been modified since the time given by the If-Modified-Since header. The algorithm for determining this includes the following cases:
-
- a) If the request would normally result in anything other than a 200 (OK) status, or if the passed If-Modified-Since date is invalid, the response is exactly the same as for a normal GET. A date which is later than the server's current time is invalid.
- b) If the variant has been modified since the If-Modified-Since date, the response is exactly the same as for a normal GET.
- c) If the variant has not been modified since a valid If-Modified-Since date, the server SHOULD return a 304 (Not Modified) response.
The purpose of this feature is to allow efficient updates of cached information with a minimum amount of transaction overhead.
Note: The Range request-header field modifies the meaning of If-Modified-Since; see section 14 of w3.org RFC 2616 Fielding, et al. for full details. [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html]
Note: If-Modified-Since times are interpreted by the server, whose clock might not be synchronized with the client.
Note: When handling an If-Modified-Since header field, some servers will use an exact date comparison function, rather than a less-than function, for deciding whether to send a 304 (Not Modified) response, To get best results when sending an If-Modified-Since header field for cache validation, clients are advised to use the exact date string received in a previous Last-Modified header field whenever possible.
Note: If a client uses an arbitrary date in the If-Modified-Since header instead of a date taken from the Last-Modified header for the same request, the client should be aware of the fact that this date is interpreted in the server's understanding of time. The client should consider unsynchronized clocks and rounding problems due to the different encodings of time between the client and server. This includes the possibility of race conditions if the document has changed between the time it was first requested and the If-Modified-Since date of a subsequent request, and the possibility of clock-skew-related problems if the If-Modified-Since date is derived from the client's clack without correction to the server's clock. Corrections for different time bases between client and server are at best approximate due to network latency.
The result of a request having both an if-Modified-Since header field and either an If-Match or an If-Unmodified-Since header fields is undefined by this specification.
When the ABR client issues a GET message to retrieve the manifest, it would set the If-Modified-Since header using the current time on the device. A known ABR delivery server would return a 304 Not Modified Response. However, an improved ABR delivery server as described herein delays sending the manifest response until the manifest has been modified.
In operation, the client device 550 sends a get request 562 to the HTTP server 520, the request pertaining to a manifest for a particular live content stream. The get request 562 comprises an if-modified-since HTTP header with a corresponding time field containing the current time at the client device 550. In response, the enhanced HTTP server 520 checks the currently available manifest at the origin server 500 which is older than the time stamp given in the if-modified-since field of the request 562 so the currently available manifest is not returned. The enhanced HTTP server waits for the manifest file to be updated, using, for example a file change watchdog as described above. When the enhanced HTTP server 520 identifies that the manifest has been updated, it sends 564 this updated manifest 510b to the client device 550. Client device 550 then chooses and requests (not shown) a particular segment of content. A segment 502b is delivered 566 to client device 550. The process then repeats with client device 550 sending another HTTP get request 568 to the enhanced HTTP server 520, the request 568 including an if-modified-since header with the new current time at the client device in the time field.
In known (non-enhanced) HTTP Servers, if a client makes an http request with the If-Modified-Since field set in the http header and the file does not meet the criteria, the server will respond with a 304 Message File Not Modified. The Enhanced HTTP server described above will monitor the requested file and wait until an update happens on the file. As soon as the update happens, the file will be sent to the requester. In the event the file has been modified since the time given in the if-modified-since field, the server will immediately respond with the requested file.
There is provided a client device for receiving a live adaptive bitrate stream, the client device further arranged to receive a manifest of segments of which the live adaptive bitrate stream is comprised and request at least one segment of the live adaptive bitrate stream. The client device is further arranged to subscribe to a push service associated with the manifest files for the live adaptive bitrate stream.
Each manifest file issued by the server may include an address for the push notification service. A client device is able to subscribe to the push notification service by sending a subscription request to that address.
The push service may use HTTP long poll. The subscription to a push service may comprise sending a request for an updated manifest file, the request for an updated manifest file indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest file was generated, and where the manifest file has not been updated since that time.
The client device may receive a pushed message from the push service. The pushed message may comprise the updated manifest file. The pushed message may comprise a notification that an updated manifest file is available, the client device may then request an updated manifest file when a notification of an updated manifest file is received.
The address for subscription to the push service associated with the manifest files for the live adaptive bitrate stream may be included in a manifest. The method may further comprise, upon receiving the first manifest of a live adaptive stream, detecting the address for subscribing to the push notification service and sending a subscription request to that address.
The push service may comprise HTTP long poll. The subscription to a push service may comprise subscribing to a push service by sending a request for an updated manifest file, the request for an updated manifest file indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest file was generated, and where the manifest file has not been updated since that time.
There is further provided a server arranged to deliver a live adaptive bitrate stream, the server further arranged to: deliver adaptive bitrate, segments requested by at least one client device; and distribute a manifest file listing available adaptive bitrate segments. The server is further arranged to issue a pushed message to subscribing client devices when the manifest file is updated with newly available adaptive bitrate segments.
The pushed message may comprise the updated manifest file. The pushed message may comprise a notification that an updated manifest file is available.
The server may be further arranged to receive a subscription request to a push service associated with the manifest files for the live adaptive bitrate stream. The subscription request may comprise a request for an updated manifest file, the request for an updated manifest file indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest file was generated, and where the manifest file has not been updated since that time.
The pushed message may comprise push notification that an updated manifest file is available. The pushed message may comprise the updated manifest file.
The address for subscription to the push service associated with the manifest files for the live adaptive bitrate stream be included in a manifest. The method may further comprise, upon receiving the first manifest of a live adaptive stream, detecting the address for subscribing to the push notification service and sending a subscription request to that address.
The method may further comprise receiving a subscription request to a push service associated with the manifest files for the live adaptive bitrate stream. The push service may comprise HTTP long poll. The subscription request may comprise a request for an updated manifest file, the request for an updated manifest file indicating the current time at the client device. Alternatively, the request for an updated manifest may indicate a time that the last received manifest file was generated, and where the manifest file has not been updated since that time.
The apparatus of
The apparatus of
There is further provided an apparatus for receiving a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus comprising: a module for receiving a manifest of segments of which the live adaptive bitrate stream is comprised; and a module for requesting at least one segment of the live adaptive bitrate stream. The apparatus further comprises a module for subscribing to a push service associated with the manifest files for the live adaptive bitrate stream.
There is further provided an apparatus for delivering a live adaptive bitrate stream comprising a processor and a memory, said memory containing instructions executable by said processor whereby said apparatus comprising: a module for delivering adaptive bitrate segments requested by at least one client device; and a module for distributing a manifest file listing available adaptive bitrate segments. The apparatus further comprises a module for issuing a pushed message to subscribing client devices when the manifest file is updated with newly available adaptive bitrate segments.
There is further provided a computer-readable medium, carrying instructions, which, when executed by computer logic, causes said computer logic to carry out any of the methods defined herein.
There is further provided a computer-readable storage medium, storing instructions, which, when executed by computer logic, causes said computer logic to carry out any of the methods defined herein. The computer program product may be in the form of a non-volatile memory or volatile memory, e.g. an EEPROM (Electrically Erasable Programmable Read-only Memory), a flash memory, a disk drive or a RAM (Random-access memory).
The live adaptive bitrate stream contains live content. Live content is content that is received at the streaming system shortly before being sent to clients, any delay resulting from the time taken to process incoming data into a form ready for live ABR streaming.
It will be apparent to the skilled person that the exact order and content of the actions carried out in the method described herein may be altered according to the requirements of a particular set of execution parameters. Accordingly, the order in which actions are described and/or claimed is not to be construed as a strict limitation on order in which actions are to be performed.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim, “a” or “an” does not exclude a plurality, and a single processor or other unit may fulfil the functions of several units recited in the claims. Any reference signs in the claims shall not be construed so as to limit their scope
The client device may be a user apparatus. The client device may be any kind of personal computer such as a television, a smart television, a set-top box, a games-console, a home-theatre personal computer, a tablet, a smartphone, a laptop, or even a desktop PC.
While examples have been given in the context of HTTP Adaptive Streaming, these examples are not intended to be the limit of streaming system to which the disclosed method and apparatus may be applied. The principles disclosed herein can be applied to any streaming system which uses a description file. For example, this method and apparatus may be applied to Apple™ HTTP Live Streaming, and Microsoft™ Smooth Streaming.
Claims
1. A client device configured for receiving a live adaptive bitrate stream, the client device comprising:
- a processor; and
- a memory containing instructions executable by the processor whereby the client device is operative: to receive a manifest identifying segments of live adaptive bitrate stream is comprised; to request at least one segment of the live adaptive bitrate stream; and to subscribe to a push service associated with manifests for the live adaptive bitrate stream by: sending a request for an updated manifest using HTTP Long-polling, the request thereby opening a connection for receipt of a message pushed from the push service relating to the updated manifest; to wait for the message to be pushed from the push service over the open connection; and to receive the message pushed from the push service, the connection being then closed.
2. The client device of claim 1, operative, further:
- to wait for the message to be pushed from the push service, wherein the message comprises the updated manifest.
3. The client device of claim 1, operative, further:
- to wait for the message to be pushed from the push service, wherein the message comprises a notification that the updated manifest is available; and
- responsive to receiving the notification, to request the updated manifest.
4. The client device of claim 1, operative, further:
- upon receiving a manifest of the live adaptive bitrate stream, to detect an address for subscribing to the push service indicated in the received manifest; and
- to subscribe to the push service by sending the request for an updated manifest to the detected address.
5. A method in a client device arranged to receive a live adaptive bitrate stream from a server, the method comprising:
- receiving a manifest identifying segments of which the live adaptive bitrate stream is comprised;
- requesting at least one segment of the live adaptive bitrate stream; and
- subscribing to a push service associated with manifests for the live adaptive bitrate stream by: sending a request for an updated manifest using HTTP Long-polling, the request thereby opening a connection for receipt of a message pushed from the push service relating to the updated manifest; waiting for the message to be pushed from the push service over the open connection; and receiving the message pushed from the push service, the connection being then closed.
6. The method of claim 5, wherein subscribing to the push service comprises:
- waiting for the message to be pushed from the push service, the message comprising the requested updated manifest.
7. The method of claim 5, wherein subscribing to the push service comprises:
- waiting for the message to be pushed from the push service, the message comprising a notification that the updated manifest is available; and
- responsive to receiving the notification, requesting the updated manifest.
8. The method of claim 5, comprising:
- responsive to receiving a manifest of the live adaptive bitrate stream, detecting an address for subscribing to the push service indicated in the received manifest; and
- subscribing to the push service by sending the request for an updated manifest to the detected address.
9. A server arranged to deliver a live adaptive bitrate stream, the server comprising:
- a processor; and
- a memory containing instructions executable by the processor whereby the server is operative: to send adaptive bitrate segments requested by at least one client device; to send a manifest requested by at least one client device, the manifest listing available adaptive bitrate segments; and to provide a push service to at least one subscribing client device by: receiving from a subscribing client device, using HTTP Long-polling, a request for an updated manifest, thereby opening a connection for sending to the subscribing client device a pushed message relating to the requested updated manifest; and responsive to determining that the manifest has been updated, sending the pushed message to the subscribing client device over the open connection, the connection being then closed.
10. The server of claim 9, operative, further, to provide the push service by sending the pushed message to the subscribing client device, the pushed message comprising the requested updated manifest.
11. The server of claim 9, operative, further, to provide the push service by sending the pushed message to the subscribing client device, the pushed message comprising a notification that the requested updated manifest is available.
12. The server of claim 9, operative, further, to include in the manifest an indication of an address for subscription to the push service.
13. A method in a server, the server arranged to deliver a live adaptive bitrate stream, the method comprising:
- sending adaptive bitrate segments requested by at least one client device;
- sending a manifest listing available adaptive bitrate segments; and
- providing a push service to at least one subscribing client device, wherein providing the push service comprises: receiving from a subscribing client device, using HTTP Long-polling, a request for an updated manifest, thereby opening a connection for sending to the subscribing client device a pushed message relating to the requested updated manifest; responsive to determining that the manifest has been updated, sending the pushed message to the subscribing client device over the open connection, the connection being then closed.
14. The method of claim 13, wherein providing the push service comprises:
- sending the pushed message to the subscribing client device, the pushed message comprising the requested updated manifest.
15. The method of claim 13, wherein providing the push service comprises:
- sending the pushed message to the subscribing client device, the pushed message comprising a notification that the requested updated manifest is available.
16. The method of claim 13, comprising including in the manifest an indication of an address for subscription to the push service.
17. A computer program product, comprising a computer-readable medium having stored thereon instructions executable by a processor of a client device arranged to receive a live adaptive bitrate stream from a server, whereby the client device is operative to:
- receive a manifest identifying segments of which the live adaptive bitrate stream is comprised;
- request at least one segment of the live adaptive bitrate stream; and
- subscribe to a push service associated with manifests for the live adaptive bitrate stream, based on being operative to: send a request for an updated manifest using HTTP Long-polling, the request thereby opening a connection for receipt of a message pushed from the push service relating to the updated manifest; wait for the message to be pushed from the push service over the open connection; and receive the message pushed from the push service, the connection being then closed.
18. A computer program product, comprising a computer-readable medium having stored actions executable by a processor of a server is arranged to deliver a live adaptive bitrate stream, whereby the server is operative to:
- send adaptive bitrate segments requested by at least one client device;
- send a manifest listing available adaptive bitrate segments; and
- provide a push service to at least one subscribing client device, wherein to provide the push service, the server is operative to: receive from a subscribing client device, using HTTP Long-polling, a request for an updated manifest, thereby opening a connection for sending to the subscribing client device a pushed message relating to the requested updated manifest; responsive to determining that the manifest has been updated, send the pushed message to the subscribing client device over the open connection, the connection being then closed.
Type: Application
Filed: Apr 29, 2021
Publication Date: Aug 12, 2021
Inventors: Anthony Richard Jones (Farnham), Chris Phillips (Hartwell, GA)
Application Number: 17/243,699