This invention relates to the playback of streamed media content by multiple playback devices. More particularly, this invention relates to synchronizing the playback of media content by multiple playback devices of Over The Top (OTT) or other presentation time sensitive media streamed over a network.
The term streaming media describes the playback of media on a playback device, where the media is stored on a server and continuously sent to the playback device over a network during playback. For purposes of this discussion, media and/or encoded media are defined as data of a work that includes video, audio, pictures, or another type of presentation that may be displayed, played or in some other way presented by a playback device. Typically, the playback device stores a sufficient quantity of media in a buffer at any given time during playback to prevent disruption of playback due to the playback device completing playback of all the buffered media prior to receipt of the next portion of media. Adaptive bit rate streaming or adaptive streaming involves detecting the present streaming conditions (e.g. the user's network bandwidth and CPU capacity) in real time and adjusting the quality of the streamed media accordingly. Typically, the source media is encoded at multiple bit rates and the playback device or client switches between streaming the different encodings depending on available resources.
Adaptive streaming solutions typically utilize either Hypertext Transfer Protocol (HTTP), published by the Internet Engineering Task Force and the World Wide Web Consortium as RFC 2616, or Real Time Streaming Protocol (RTSP), published by the Internet Engineering Task Force as RFC 2326, to stream media between a server and a playback device. HTTP is a stateless protocol that enables a playback device to request a byte range within a file. HTTP is described as stateless, because the server is not required to record information concerning the state of the playback device requesting information or the byte ranges requested by the playback device in order to respond to requests received from the playback device. RTSP is a network control protocol used to control streaming media servers. Playback devices issue control commands, such as “play” and “pause”, to the server streaming the media to control the playback of media files. When RTSP is utilized, the media server records the state of each client device and determines the media to stream based upon the instructions received from the client devices and the client's state.
In adaptive streaming systems, the source media is typically stored on a media server as a top level index file pointing to a number of alternate streams that contain the actual video and audio data. Each stream is typically stored in one or more container files. Different adaptive streaming solutions typically utilize different index and media containers. The Synchronized Multimedia Integration Language (SMIL) developed by the World Wide Web Consortium is utilized to create indexes in several adaptive streaming solutions including IIS Smooth Streaming developed by Microsoft Corporation of Redmond, Wash., and Flash Dynamic Streaming developed by Adobe Systems Incorporated of San Jose, Calif. HTTP Adaptive Bitrate Streaming developed by Apple Computer Incorporated of Cupertino, Calif. implements index files using an extended M3U playlist file (.M3U8), which is a text file containing a list of URIs that typically identify a media container file. The most commonly used media container formats are the MP4 container format specified in MPEG-4 Part 14 (i.e. ISO/IEC 14496-14) and the MPEG transport stream (TS) container specified in MPEG-2 Part 1 (i.e. ISO/IEC Standard 13818-1). The MP4 container format is utilized in IIS Smooth Streaming and Flash Dynamic Streaming. The TS container is used in HTTP Adaptive Bitrate Streaming.
Adaptive bitrate streaming performs adequately for playback of media content on a device. However, there is currently no viable way to synchronize the playback of streamed content on two or more playback devices such that there is no discernible difference between the presentation times of the content on the two or more devices. Currently, the only way to synchronize the device is for the user to manually control the start and stop of the playback on each of the devices to synchronize the playback which is often impossible or at least very difficult to achieve. Furthermore, the streaming of Over The Top (OTT) content or other presentation time sensitive content using adaptive bit rate streaming and other streaming processes is becoming more prevalent. OTT content is content that a media content provider delivers but may not have any control of the content and can only provide the content as it is received. The best example of OTT content is a live broadcast. During a live broadcast, the content is streamed directly to the playback devices to be played shortly after it is received in real time. Due to differences in the capabilities of playback devices and the network connections of the devices, the timing of receipt and playback of the streamed content on different devices may not be synchronized. As such, the manual synchronization is even more difficult than it is for synchronizing the playback of stored content on playback devices.
The lack of synchronization may be a problem when one or more devices are performing the playback within close proximity of one another as the lack of synchronization may be noticeable by viewers. For example, two or more playback devices may be set up in a restaurant to view a live sporting event. If the playback is not synchronized, the user may notice the broadcast delay between devices.
Systems and methods for synchronizing the playback of streamed OTT content or other time sensitive content in accordance with embodiments of this invention are disclosed. In accordance with embodiments of this invention, a method for playback of encoded media performed by a playback device be performed by the following actions. The playback device transmits a request to a network time provider. In response to the request, the playback device receives the time information from the network time provider. The playback device sets a playback clock in the device using the received time information. In order to provide a playback of a stream of content, the playback device receives stream initiation information for the stream of encoded media from a stream media provider. The stream initiation information includes a stream start time. The playback device then receives the stream of encoded media. The stream includes frames of the encoded content. The presentation time information of each of the frames of the stream is adjusted in the playback device based upon the stream initiation information.
In accordance with some embodiments of this invention the network time provider is a Network Time Protocol Server and the transmitting of the request and receiving of the time information are performed using Network Time Protocol (NTP). Furthermore, the time information and/or the start time is provided in Coordinated Universal Time in accordance with some embodiments this invention.
In accordance with some other embodiments of this invention, the network time provider is a local time server. In accordance with some of these embodiments, the local time server performs the following process to obtain time information. The local time server transmits a request for time information to a Network Time Protocol server. In response to the request, the local time server, receives the time information from the Network Time Protocol server in the local time server. The local time server then may receive the request for time information from the playback device. The local time server then generates the time information for the playback device from the timing information received from the Network Time Protocol server and transmits the time information to the playback device.
Turning now to the drawings, systems and methods for synchronizing playback of OTT content by multiple clients is provided. In particular, embodiments of this invention can use time information from a common source to set the playback clocks in the individual playback devices. The playback devices then receive start time information from a media content provider that indicate the time for the start of playback. The start time information is determined using the time information from the common source. Each device then adjusts the presentation time stamps of the frames in the received content based on the received start time information.
Turning now to the
Time server 22 is a server that provides Coordinated Universal Time (UTC) or equivalent information. In the shown embodiment, the time server 22 is a Network Time Protocol (NTP) server or an equivalent system that may be maintained by a third party. The use of NTP allows the time server 22 to provide time information to the devices allow internal clocks in the individual devices that are set using the time information to be synchronized within tens (10 s) of milliseconds (ms) of one another.
In the illustrated embodiment, playback devices include personal computers 18, CE players, and mobile phones 20. In other embodiments, playback devices can include consumer electronics devices such as DVD players, Blu-ray players, televisions, set top boxes, video game consoles, tablets, and other devices that are capable of connecting to a server via HTTP and playing back encoded media. Although a specific architecture is shown in
As illustrated, some playback devices, such as user computers 29, are connected to the network 16 via a Local Area Network (LAN) 25. LAN 25 may include a local time server 27. Local time server 27 receives time information from the NTP server 22 and generates local time information based upon the time information received from the NTP server 22. Although shown as a server, one skilled in the art will recognize that any device connected to LAN 25 that can provide time information may be used without departing from embodiments of this invention. The local time information of local time server 27 may be provided to the playback devices connected to the LAN 25 to ensure that better time synchronization between the connected devices. The use of local time server 27 connected to the LAN 25 may be used when a synchronization of less than the 10 s of ms achieved using network time server 22 is desired. Network time servers, playback devices, and local time servers in accordance with embodiments of the invention are discussed further below.
Some processes for providing methods and systems in accordance with embodiments of this invention are executed by a playback device. The relevant components in a playback device that can perform the processes in accordance with an embodiment of the invention are shown in
Some processes for providing methods and systems in accordance with embodiments of this invention are executed by the HTTP server; source encoding server; and/or local and network time servers. The relevant components in a server that perform the processes in accordance with embodiments of the invention are shown in
In accordance with embodiments of this invention, playback devices obtain time information from a common source and use the time information to set the playback clock of the devices. The playback devices also receive playback time information from the stream content provider. The playback time information is then used to adjust the presentation time of frames in the stream based upon the playback clock. Since the playback clocks have been set based upon time information from a common source there should by less than 10 s of ms delay between the presentations. A timing diagram of messages and information passed between devices over a network in accordance some embodiments of this invention is illustrated in
In
In accordance with the timing diagram of
The first and second playback devices use the time information received to set the respective playback clocks in each playback device. The first playback device transmits a request 435 for OTT content or other presentation time sensitive content to the media server. The media server transmits stream initiation information for a stream of encoded media for the desired content 440 to the first playback device. Similarly, the second device transmits a request 445 for the same OTT content or other presentation for time sensitive content to the media server. The media server transmits stream initiation information for a stream of encoded media for the desired content 450 to the second playback device. In accordance with some embodiments, the stream initiation information includes a start time based on the UTC.
The media server then commences transmitting streams of the media content 455 and 460 to each of the first and second playback devices. Each of the first and second devices then adjusts the Presentation Time Stamp (PTS) of each frame received in the stream of media content based upon stream initiation information. In accordance with some of these embodiments, the start time in the stream will be based upon the playback clock derived from UTC and the UTC of the start time. Since the start time of the stream is derived from the UTC and the playback clock is derived from the UTC, the delay between the presentations will be in the 10 s of ms based on the difference of time information received by the various devices.
In some embodiments, it may be desirable to have the synchronization of playback of the content include less than 10 s of ms of delay. This may be the case where devices are providing playback of the content in close proximity to one another. A timing diagram of a system that provides for greater synchronization between playback devices in accordance with some embodiments of this invention is shown in
The system in
In accordance with the timing diagram of
The local time server then uses the time information to generate time information for use by the playback devices connected to the LAN. The first playback device transmits a request 525 to the local time server for time information and receives time information 530 from the local time server in response to the request. Likewise, the second playback device transmits a request 535 to the local time server for information and receives time information 540 from the local time server in response to the request. The first and second playback devices use the time information received to set the respective playback clocks in each device. As the time information is received over a LAN from the local server, there is less delay introduced into the time information. Thus, the playback clocks of the first and second playback devices will be more closely synchronized.
To start playback, the first device transmits a request 545 for OTT content or other presentation time sensitive content to the media server. The media server transmits stream initiation information for a stream of encoded media for the desired content 550 to the first playback device. Similarly, the second device transmits a request 555 for the same OTT content or other presentation for time sensitive content to the media server. The media server transmits stream initiation information for a stream of encoded media for the desired content 560 to the second playback device. In accordance with some embodiments, the stream initiation information includes a start time based on the UTC.
The media server then commences transmitting streams of the media content 565 and 570 to each of the first and second playback devices. Each of the first and second devices then adjusts the Presentation Time Stamp (PTS) of each frame received in the stream of media content based upon stream initiation information. In accordance with some of these embodiments, the start time in the stream will be based upon the playback clock derived from UTC information received from the local time server and the UTC of the start time. Since the start time of the stream is derived from the UTC and the playback clock is derived from the UTC received from the local time server instead of the network time server, the delay between the presentations will typically be less than the 10 s of ms of the system described above in reference to
A process performed by a playback device to provide synchronized playback in accordance with some embodiments of this invention is illustrated in
When the playback device plays back OTT or other presentation time content, the playback device receives stream initiation information (620). In accordance with some embodiments, the stream initiation information may be in the top level index of the requested content or provided along with some other type of administrative information such as metadata or the like. In accordance with some embodiments, the stream initiation information includes a start time based on the UTC. The playback device then receives the stream of media content. As the stream is received, the playback device adjusts the presentation time information of each frame based upon the stream initiation information and the playback clock (625). The presentation time information may be the Presentation Time Stamp (PTS) of a frame, PTS of a reference frame for a frame, or any other information that may be used to determine the time at which a frame may be presented. In accordance with some of these embodiments, the start time and the time of the playback clock are used to adjust the PTS of each frame. In particular, the difference between the start time received from the media server and the playback clock may be used to adjust the PTS of each frame. The playback of the stream then commences (630).
A process for providing stream initiation time information performed by a media server in accordance with embodiments of this invention is illustrated in
The stream initiation time is then used to generate stream initiation information for the stream of content (720). When a request for a stream of the content is received (725), the stream initiation information is provided to the requesting playback device (730) and the content is streamed to the playback device (735).
The above is description of embodiments of systems and methods in accordance with the present invention. It is foreseen that other skilled in the art will design alternative systems that infringe on this invention as set forth in the following claims either literally or through the Doctrine of Equivalents.
This application is a continuation of U.S. application Ser. No. 15/192,695, entitled “Synchronizing Multiple Over The Top Streaming Clients”, filed Jun. 24, 2016, which application is a continuation of U.S. application Ser. No. 13/906,952, entitled “Synchronizing Multiple Over the Top Streaming Clients”, filed May 31, 2013 and issued on Jun. 28, 2016 as U.S. Pat. No. 9,380,099, the disclosures of which are incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 15192695 | Jun 2016 | US |
Child | 15587200 | US | |
Parent | 13906952 | May 2013 | US |
Child | 15192695 | US |