Patent ID: 8559438
Filing Date: 2013-10-15
Classification: H04L,H04N

Abstract:
1. A method, comprising: receiving a request from a device at a content server, the request associated with a session and corresponding to a media stream including a plurality of packets; identifying a plurality of media stream variants, the plurality of media stream variants encoded by the content server at varying bit rates; selecting one of the plurality of media stream variants to be an insertion sequence, wherein the selected one of the plurality of media stream variants is selected so that the insertion sequence has the same bit rate as a removal sequence, wherein the removal sequence encodes media content for presentation as part of the media stream, wherein the selected media stream variant encodes media content for presentation in place of the removal sequence; obtaining the insertion sequence for inclusion in the media stream, the insertion sequence having an insertion sequence start packet including key frame data, the insertion sequence also having an insertion stream end packet; extracting the removal sequence from the media stream to allow inclusion of the insertion stream in the media stream; and modifying sequence number information for a media stream restart packet and packets following the media stream restart packet using sequence number information from the insertion sequence end packet.