A method of reproducing media data, by a client, the method comprising: requesting and receiving a first file comprising information about a plurality of first media data of first content , the first file including information referencing headers of the plurality of first media data; requesting and receiving a header of selected first media data from among the plurality of first media data based on the first file; requesting at least one segment included in the selected first media data based on the received header and the received first file; and receiving and reproducing the at least one segment included in the selected first media data, wherein the plurality of first media data is generated by encoding the first content to have different properties and each of the plurality of first media data is divided into at least one segment based on a time, wherein the information referencing the header includes a type attribute indicating a format of a header, an indentifier attribute indicating media data corresponding to the header and URL, uniform resource locator, attribute indicating a location of the header, wherein the first file includes a media data attribute including an identifier and a quality level of each of the plurality of first media data, wherein the first file comprises a segment attribute including a start time and a duration of the at least one segment of the plurality of first media data, wherein the selected first media data corresponds to at least one elementary stream, and wherein the header of the selected first media data comprises at least one of a program association table, PAT, or a program map table, PMT, relating to the at least one elementary stre am, and wherein the PAT or the PMT is used in the requesting of the the at least one segment. requesting and receiving a first file comprising information about a plurality of first media data of first content , the first file including information referencing headers of the plurality of first media data; requesting and receiving a header of selected first media data from among the plurality of first media data based on the first file; requesting at least one segment included in the selected first media data based on the received header and the received first file; and receiving and reproducing the at least one segment included in the selected first media data, wherein the plurality of first media data is generated by encoding the first content to have different properties and each of the plurality of first media data is divided into at least one segment based on a time, wherein the information referencing the header includes a type attribute indicating a format of a header, an indentifier attribute indicating media data corresponding to the header and URL, uniform resource locator, attribute indicating a location of the header, wherein the first file includes a media data attribute including an identifier and a quality level of each of the plurality of first media data, wherein the first file comprises a segment attribute including a start time and a duration of the at least one segment of the plurality of first media data, wherein the selected first media data corresponds to at least one elementary stream, and wherein the header of the selected first media data comprises at least one of a program association table, PAT, or a program map table, PMT, relating to the at least one elementary stre am, and wherein the PAT or the PMT is used in the requesting of the the at least one segment. <EOS>