A method for processing adaptive streaming, comprising: obtaining location information and time information of the adaptive streaming carried in a transport stream, TS; determining at least one segment, in the adaptive streaming, for timeline alignment with the transport stream according to the location information; determining a presence time stamp, PTS, of media presentation time of each of the at least one segment in the adaptive streaming relative to a timeline of the transport stream according to the time information; characterized in that obtaining the location information of the adaptive streaming carried in the transport stream comprises: parsing a program map table, PMT, from the transport stream, determining a packet identifier, PID, of which a stream type is a predetermined value, of a Timeline and External Media Information, TEMI, Packet Elemental Stream, PES, stream; filtering the TEMI PES stream according to the PID; extracting a location descriptor of the adaptive streaming carried in the TEMI PES stream and setting the location descriptor as the location information; or obtaining the location information of the adaptive streaming carried in the transport stream comprises: obtaining a specific media component TS stream, of which a value of an extension descriptor tag is a predetermined value, from the transport stream; extracting a location descriptor of the adaptive streaming carried in an adaptation field of the specific media component TS stream and setting the location descriptor as the location information; wherein extracting the location descriptor of the adaptive streaming comprises: extracting an adaptation field descriptor from a payload of the TEMI PES stream or an adaptation field of the specific media component TS stream, and setting the adaptation field descriptor as the location descriptor, wherein a tag field value of the adaptation field descriptor is a predetermined value and a service type field value of the adaptation field descriptor is a predetermined value; wherein the location descriptor comprises at least one of the following: event stream scheme identifier field, event stream value field, event identifier field; wherein the event stream scheme identifier field is used for uniquely identifying an event stream scheme, the event stream value field is used for uniquely identifying event stream in the event stream scheme and the event identifier field is used for uniquely identifying events of the event stream. obtaining location information and time information of the adaptive streaming carried in a transport stream, TS; determining at least one segment, in the adaptive streaming, for timeline alignment with the transport stream according to the location information; determining a presence time stamp, PTS, of media presentation time of each of the at least one segment in the adaptive streaming relative to a timeline of the transport stream according to the time information; characterized in that obtaining the location information of the adaptive streaming carried in the transport stream comprises: parsing a program map table, PMT, from the transport stream, determining a packet identifier, PID, of which a stream type is a predetermined value, of a Timeline and External Media Information, TEMI, Packet Elemental Stream, PES, stream; filtering the TEMI PES stream according to the PID; extracting a location descriptor of the adaptive streaming carried in the TEMI PES stream and setting the location descriptor as the location information; or obtaining the location information of the adaptive streaming carried in the transport stream comprises: obtaining a specific media component TS stream, of which a value of an extension descriptor tag is a predetermined value, from the transport stream; extracting a location descriptor of the adaptive streaming carried in an adaptation field of the specific media component TS stream and setting the location descriptor as the location information; wherein extracting the location descriptor of the adaptive streaming comprises: extracting an adaptation field descriptor from a payload of the TEMI PES stream or an adaptation field of the specific media component TS stream, and setting the adaptation field descriptor as the location descriptor, wherein a tag field value of the adaptation field descriptor is a predetermined value and a service type field value of the adaptation field descriptor is a predetermined value; wherein the location descriptor comprises at least one of the following: event stream scheme identifier field, event stream value field, event identifier field; wherein the event stream scheme identifier field is used for uniquely identifying an event stream scheme, the event stream value field is used for uniquely identifying event stream in the event stream scheme and the event identifier field is used for uniquely identifying events of the event stream.