主权项 |
1. A method comprising:
storing, by a media server, a media content file comprising a plurality of media fragments; storing, by the media server, a plurality of offset values, wherein the plurality offset values correspond to first locations of the plurality of media fragments in the media content file, and wherein the plurality of offset values is encoded in a string format and stored as a single string of offset values separate from the media content file, wherein the single string of offset values comprises a plurality of substrings, wherein each of the plurality of substrings stores one of the plurality of offset values concatenated to form the single string of offset values, and wherein each of the plurality of substrings includes a number of bits storing one of the plurality of offset values concatenated to the number of other bits storing another one of the plurality of offset values; receiving, by the media server, a request for a media description file corresponding to the media content file, wherein the media description file comprises a range unit indicator, the range unit indicator indicating a size of the number of bits; providing, by the media server, the plurality of offset values in accordance with the request for the media description file, wherein providing the plurality of offset values comprises providing the plurality of offset values in the single string of offset values; and providing, by the media server, at least a subset of the plurality of media fragments in accordance with a request for the subset of the plurality of media fragments. |