# US 2015/0106841 A1 · Dynamic Advertisement During Live Streaming

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0106841 A1
- Document ID: US20150106841A1
- Status: Published application
- Kind: A1
- Application number: 14/173,272
- Filed: 2014-02-05
- Published: 2015-04-16
- Earliest claimed: 2013-10-14
- Assignees: Rhythm NewMedia Inc.
- Applicants: Rhythm NewMedia Inc.
- Inventors: Amir Wolf; Marc Cousineau; James T. Morris
- Web page: https://patentgrep.com/patent/US20150106841A1

## CPC

- H04N 21/812: {involving advertisement data (advertising per se G06Q30/02)}
- H04N 21/23424: {involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement}
- H04N 21/8455: {involving pointers to the content, e.g. pointers to the I-frames of the video stream}
- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Disclosed is a configuration for inserting an advertisement (ad) break into a live stream by a server. One example embodiment includes a system (and method) that receives index files periodically from a media encoder of a live stream. Each index file comprising pointers to current segments of the live stream encoded in real-time. The system sets a status of the live stream to a live status and determines whether an indicator for ad break is included in a received index file. If there is no indicator for the ad break in the received index file, the system transmits the received index file to one or more client computers. If there is an indicator for the ad break in the received index file, the system processes the received index file by removing segments following the indicator from the index file, updates the status of the live stream to an ad-break status, and transmits the processed index file to the one or more client computers.

## Claims

### Claim 1

A method for inserting an advertisement (ad) break into a live stream by a server computer, the method comprising:
receiving, at the server computer, index files periodically from a media encoder of a live stream, each index file comprising pointers to current segments of the live stream encoded in real-time;
setting, by the server computer, a status of the live stream to a live status;
determining, by the server computer, whether a received index file includes a special marker;
responsive to the received index file including no special marker, transmitting, by the server computer, the received index file to one or more client computers; and
responsive to the received index file including the special marker and the special marker being an indicator for ad break, the server computer:
processing the received index file by replacing segments following the indicator for ad break from the index file with a segment comprising an indicator for an end of list,
updating the status of the live stream to an ad-break status, and
transmitting the processed index file to the one or more client computers,
wherein the received index file is only processed in response to a detection of the special marker.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining, by the server computer, whether the special marker included in the received index file is an indicator for end of the ad break; and
responsive to the special marker being the indicator for end of the ad break, the server computer:
processing the received index file by replacing segments before the indicator for end of the ad break with one or more blank segments,
updating the status of the live stream to the live status, and
transmitting the processed index file to the one or more client computers.

### Claim 3 (depends on 2)

The method of claim 2, wherein the one or more blank segments each comprises blank frames of a predefined time interval.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by the server computer, whether the special marker included in the received index file is an indicator for end of the live stream; and
responsive to the special marker being the indicator for end of the live stream in the in the received index file, the server computer:
updating the status of the live stream to a dead status, and
transmitting the received index file to the one or more client computers.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a query on the status of the live stream from a client;
determining the status of the live stream, the status being one of a live status, an ad-break status, and a dead status; and
transmitting the status of the live stream to the one or more client computers.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
responsive to a determined ad-break status of the live stream, transmitting the ad-break status of the live stream including a duration of the ad break to the one or more client computers.

### Claim 7 (depends on 1)

The method of claim 1, wherein the live stream is based on HTTP live streaming (HLS) protocol.

### Claim 8 (depends on 1)

The method of claim 1, wherein the live stream is transmitted through a content delivery network having a caching period correlating to a duration of a refresh duration period of the received index file.

### Claim 9

A method for playing advertisements (ads) during a live streaming at a client computer, the method comprising:
requesting a live stream from a streaming server, the live stream comprising a sequence of segments encoded in real-time;
receiving an index file comprising a list of pointers to current segments of the live stream, the index file comprising an indicator for an end of list;
playing the current segments of the live stream until the end of the list;
monitoring a status of playing the current segments of the live stream;
querying a status of the live stream from the streaming server in response to detecting playing the current segments of the live stream is stopped;
responsive to a query result indicating an ad-break status, requesting ads from an ad server and playing the ads retrieved from a location received from the ad server;
responsive to a query result indicating a live status, requesting an updated index file and resuming the playback of the live stream; and
responsive to a query result indicating a dead status, terminating the live stream.

### Claim 10 (depends on 9)

The method of claim 9, wherein the query result indicating an ad-break status also includes a duration of the ad break.

### Claim 11 (depends on 10)

The method of claim 10, wherein requesting ads from the ad server further comprises:
sending the duration of the ad break to the ad server; and
receiving one or more ads for the duration of the ad break.

### Claim 12

A non-transitory computer-readable storage medium storing executable computer program instructions to cause a processor to insert an advertisement (ad) break into a live stream by a server computer, the computer program instructions comprising instructions to:
receive index files periodically from a media encoder of a live stream, each index file comprising pointers to current segments of the live stream encoded in real-time;
set a status of the live stream to a live status;
determine whether a received index file includes a special marker;
responsive to the received index file including no special marker, transmit the received index file to one or more client computers; and
responsive to the received index file including the special marker and the special marker being an indicator for ad break,
process the received index file by replacing segments following the indicator for ad break from the index file with a segment comprising an indicator for an end of list,
update the status of the live stream to an ad-break status, and
transmit the processed index file to the one or more client computers,
wherein the received index file is only processed in response to a detection of the special marker.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, further comprising instructions to:
determine whether the special marker included in the received index file is an indicator for end of the ad break; and
responsive to the special marker being the indicator for end of the ad break,
process the received index file by replacing segments before the indicator for end of the ad break with one or more blank segments,
update the status of the live stream to the live status, and
transmit the processed index file to the one or more client computers.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the one or more blank segments each comprises blank frames of a predefined time interval.

### Claim 15 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, further comprising instructions to:
determine whether the special marker included in the received index file is an indicator for end of the live stream; and
responsive to the special marker being the indicator for end of the live stream in the received index file,
update the status of the live stream to a dead status, and
transmit the received index file to the one or more client computers.

### Claim 16 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, further comprising instructions to:
receive a query on the status of the live stream from a client;
determine the status of the live stream, the status being one of a live status, an ad-break status, and a dead status; and
transmit the status of the live stream to the one or more client computers.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, further comprising instructions to:
responsive to a determined ad-break status of the live stream, transmit the ad-break status of the live stream including a duration of the ad break to the one or more client computers.

### Claim 18 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the live stream is based on HTTP live streaming (HLS) protocol.

### Claim 19 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the live stream is transmitted through a content delivery network having a caching period correlating to a duration of a refresh duration period of the received index file.

### Claim 20

A non-transitory computer-readable storage medium storing executable computer program instructions to cause a processor to play advertisements (ads) during a live stream transmission to one or more client computers, the computer program instructions comprising instructions to:
request a live stream from a streaming server, the live stream comprising a sequence of segments encoded in real-time;
receive an index file comprising a list of pointers to current segments of the live stream, the index file comprising an indicator for an end of list;
play the current segments of the live stream until the end of the list;
monitor a status of playing the current segments of the live stream;
query a status of the live stream from the streaming server in response to detecting playing the current segments of the live stream is stopped;
responsive to a query result indicating an ad-break status, request ads from an ad server and playing the ads retrieved from a location received from the ad server;
responsive to a query result indicating a live status, request an updated index file and resuming the playback of the live stream; and
responsive to a query result indicating a dead status, terminate the live stream.

### Claim 21 (depends on 20)

The non-transitory computer-readable storage medium of claim 20, wherein the query result indicating an ad-break status also includes a duration of the ad break.

### Claim 22 (depends on 21)

The non-transitory computer-readable storage medium of claim 21, wherein the instructions to request ads from the ad server further comprises instructions to:
send the duration of the ad break to the ad server; and
receive one or more ads for the duration of the ad break.
