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 a media content performed by a server or multiple servers, comprising:
receiving, from a client, a Uniform Resource Locator (URL) request for a segment of the media content based on metadata of the media content, wherein the metadata comprises multiple BaseURL elements and wherein identical segments are accessible at locations indicated by URLs resolved with respect to the multiple BaseURL elements; and
sending the requested segment of the media content to the client,
wherein the URL of the requested segment is generated based on a selected BaseURL element among the multiple BaseURL elements.
2. The method of claim 1 , wherein the first BaseURL element among the multiple 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.
3. The method of claim 1 , wherein the URL is an absolute URL or a relative URL.
4. The method of claim 1 , wherein the metadata of the media content is a Media Presentation Description (MPD), wherein the MPD is a formalized description of a media presentation related to the media content, wherein the media presentation includes one or more periods, wherein the period includes one or more groups, wherein the group includes one or more representations, and wherein the representation includes one or more segments of the media content.
5. The method of claim 4 , wherein the multiple BaseURL elements are included at only the MPD level.
6. The method of claim 4 , wherein the multiple BaseURL elements are included at only the period level.
7. The method of claim 4 , wherein the multiple BaseURL elements are included at only the group level.
8. The method of claim 4 , wherein the multiple BaseURL elements are included at only the representation level.
9. The method of claim 4 , wherein the MPD includes multiple BaseURL elements at the MPD level and multiple BaseURL elements at the period level.
10. The method of claim 1 , further comprising:
sending metadata of the media content to the client.
11. A method of providing a media content performed by a client, comprising:
transmitting, to a server, a request for a segment of the media content based on a metadata, wherein the metadata comprises multiple BaseURL elements and wherein identical segments are accessible at locations indicated by URLs resolved with respect to the multiple BaseURL elements; and
receiving the requested segment of the media content from the server,
wherein the URL of the requested segment is generated based on a selected BaseURL element among the multiple BaseURL elements.
12. The method of claim 11 , wherein the first BaseURL element among the multiple 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.
13. The method of claim 11 , wherein the URL is an absolute URL or a relative URL.
14. The method of claim 11 , wherein the metadata of the media content is a Media Presentation Description (MPD), wherein the MPD is a formalized description of a media presentation related to the media content, wherein the media presentation includes one or more periods, wherein the period includes one or more groups, wherein the group includes one or more representations, and wherein the representation includes one or more segments of the media content.
15. The method of claim 14 , wherein the multiple BaseURL elements are included at only the MPD level.
16. The method of claim 14 , wherein the multiple BaseURL elements are included at only the period level.
17. The method of claim 14 , wherein the multiple BaseURL elements are included at only the group level.
18. The method of claim 14 , wherein the multiple BaseURL elements are included at only the representation level.
19. The method of claim 14 , wherein the MPD includes multiple BaseURL elements at the MPD level and multiple BaseURL elements at the period level.
20. A method for providing a media content performed by a server or multiple servers, comprising:
receiving, from a client, a Uniform Resource Locator (URL) request for a segment of the media content based on a metadata of the media content, wherein the metadata comprises a BaseURL element; and
sending the requested segment to the client;
wherein when the metadata does not comprise a sourceURL attribute of the requested segment, the BaseURL element is used to replace the sourceURL attribute, so that the URL is generated.
21. A method for providing a media content performed by a server or multiple servers, comprising:
receiving, from a client, a Uniform Resource Locator (URL) request for a segment of the media content based on a metadata, wherein the metadata comprises multiple BaseURL elements; and
sending the requested segment to the client;
wherein when the metadata does not comprise a sourceURL attribute of the requested segment, a BaseURL element among the multiple BaseURL elements is used to replace the sourceURL attribute, so that the URL is generated.