A method for streaming video data comprising: receiving, at a client device from a server device, an indication of an open decoding refresh, ODR, random access point, RAP, frame of a first media segment comprising one or more frames associated with a group of pictures, wherein at least one frame (320E, 320C, 320G, 320B, 320D, 320F, 320H) of the first media segment following the ODR random access point frame in decoding order cannot be correctly decoded without receiving one or more frames of a further media segment preceding the first media segment wherein the further media segment comprises one or more frames, and wherein each frame (320J, 320K) of the first media segment having a display order value greater than the display order value of the ODR random access point frame can be correctly decoded without relying on content of frames prior to the random access point frame in display order; receiving at least one indication of whether the media segment includes an instantaneous decoding refresh, IDR, RAP frame; and generating a request based on the at least one indication of whether the media segment includes an instantaneous decoding, IDR, RAP frame, wherein the request comprises a request to retrieve a stream of media data starting with at least a portion of the media segment that contains the indicated ODR RAP frame, and wherein generating the request comprises: generating the request to retrieve the stream of media data starting with the IDR RAP frame when the at least one indication indicates that the media segment includes the IDR RAP frame; and generating the request to retrieve the stream of media data starting with the ODR RAP frame when the at least one indication indicates that the media segment does not include the IDR RAP frame; and sending, by the client device, the request to the server device. receiving, at a client device from a server device, an indication of an open decoding refresh, ODR, random access point, RAP, frame of a first media segment comprising one or more frames associated with a group of pictures, wherein at least one frame (320E, 320C, 320G, 320B, 320D, 320F, 320H) of the first media segment following the ODR random access point frame in decoding order cannot be correctly decoded without receiving one or more frames of a further media segment preceding the first media segment wherein the further media segment comprises one or more frames, and wherein each frame (320J, 320K) of the first media segment having a display order value greater than the display order value of the ODR random access point frame can be correctly decoded without relying on content of frames prior to the random access point frame in display order; receiving at least one indication of whether the media segment includes an instantaneous decoding refresh, IDR, RAP frame; and generating a request based on the at least one indication of whether the media segment includes an instantaneous decoding, IDR, RAP frame, wherein the request comprises a request to retrieve a stream of media data starting with at least a portion of the media segment that contains the indicated ODR RAP frame, and wherein generating the request comprises: generating the request to retrieve the stream of media data starting with the IDR RAP frame when the at least one indication indicates that the media segment includes the IDR RAP frame; and generating the request to retrieve the stream of media data starting with the ODR RAP frame when the at least one indication indicates that the media segment does not include the IDR RAP frame; and sending, by the client device, the request to the server device. generating the request to retrieve the stream of media data starting with the IDR RAP frame when the at least one indication indicates that the media segment includes the IDR RAP frame; and generating the request to retrieve the stream of media data starting with the ODR RAP frame when the at least one indication indicates that the media segment does not include the IDR RAP frame; and sending, by the client device, the request to the server device.