Apparatus and method for providing streaming content
A method and apparatus for an adaptive Hypertext Transfer Protocol (HTTP) streaming service using metadata of content are provided. The metadata may include one or more BaseURL elements. Uniform Resource Locators (URLs) of segments forming media may be generated based on the BaseURL elements. Additionally, a URL of a segment may be generated by mapping a BaseURL element among the BaseURL elements to a sourceURL attribute of the segment. Segments indicated by generated URLs may be identical to each other.
1. A method for providing media, the method comprising:
receiving metadata of media, the metadata comprising one or more BaseURL elements;
sending a request for a segment of the media using a Uniform Resource Locator (URL) of the segment, the URL being resolved with respect to a BaseURL element;
receiving the segment; and
decoding and rendering data of the media that is included in the segment,
wherein identical segments are accessible at multiple locations indicated by URLs resolved with respect to the respective BaseURL elements,
wherein the metadata is a Media Presentation Description (MPD) of the media
wherein the media comprises a sequence of one or more periods,
wherein a BaseURL element comprises one or more MPD level BaseURL elements of the MPD, and one or more period level BaseURL elements of the periods, and
wherein a URL of a segment included in each of the periods is resolved with respect to a period level BaseURL element.
2. A method for providing media, the method comprising:
receiving metadata of media, the metadata comprising one or more BaseURL elements;
sending a request for a segment of the media using a Uniform Resource Locator (URL) of the segment, the URL being resolved with respect to a BaseURL element;
receiving the segment; and
decoding and rendering data of the media that is included in the segment,
wherein a first BaseURL element among the BaseURL elements is used as a basic Universal Resource Indicator (URI), and BaseURL elements other than the first BaseURL element are used as alternative BaseURL elements,
wherein the metadata is a Media Presentation Description (MPD) of the media
wherein the media comprises a sequence of one or more periods,
wherein a BaseURL element comprises one or more MPD level BaseURL elements of the MPD, and one or more period level BaseURL elements of the periods, and
wherein a URL of a segment included in each of the periods is resolved with respect to a period level BaseURL element.
3. A terminal, comprising:
an access engine to receive metadata of media, to send a request for a segment of the media using a Uniform Resource Locator (URL) of the segment, to receive the segment, and to decode data of the media that is included in the segment, the metadata comprising one or more BaseURL elements, and the URL being resolved with respect to a BaseURL element; and
a media engine to receive the data of the media from the access engine, and to output the media,
wherein identical segments are accessible at multiple locations indicated by URLs resolved with respect to the respective BaseURL elements,
wherein the metadata is a Media Presentation Description (MPD) of the media
wherein the media comprises a sequence of one or more periods,
wherein a BaseURL element comprises one or more MPD level BaseURL elements of the MPD, and one or more period level BaseURL elements of the periods, and
wherein a URL of a segment included in each of the periods is resolved with respect to a period level BaseURL element.
4. A terminal, comprising:
an access engine to receive metadata of media, to send a request for a segment of the media using a Uniform Resource Locator (URL) of the segment, to receive the segment, and to decode data of the media that is included in the segment, the metadata comprising one or more BaseURL elements, and the URL being resolved with respect to a BaseURL element; and
a media engine to receive the data of the media from the access engine, and to output the media,
wherein a first BaseURL element among the BaseURL elements is used as a basic Universal Resource Indicator (URI), and BaseURL elements other than the first BaseURL element are used as alternative BaseURL elements,
wherein the metadata is a Media Presentation Description (MPD) of the media
wherein the media comprises a sequence of one or more periods,
wherein a BaseURL element comprises one or more MPD level BaseURL elements of the MPD, and one or more period level BaseURL elements of the periods, and
wherein a URL of a segment included in each of the periods is resolved with respect to a period level BaseURL element.