Method for transmission of media content from a server to a client device, executed by the client device, wherein the server is capable of streaming the media content in a plurality of representations having different mean bit rates and of starting the streaming of a representation at a plurality of switching times (t s) for said representation, the method comprising: - obtaining media description data representative of the number of available representations, the ratios between the mean bit rates of the representations and switching times (t s) for the representations, - while receiving streaming media content in a current representation, storing the received representation in a buffer and playing the buffered representation: - determining a sample comprising a sampling time (t i) and the amount of data (B(t i)) in the buffer at the sampling time, and storing the N last samples, - determining (S2, S3), in function of said N last samples, a completion time (t comp) wherein the client device will have received streaming media content for the current representation up to a future switching time (t s), - in response to reaching said completion time (t comp): - for current representation and at least one other representation associated with said future switching time (t s), determining a prediction of the evolution of the amount of data (B(t)) in the buffer in function of the N last samples and said ratios, - selecting a representation in function of said predictions, and - if the selected representation is different from the current representation, sending at least one message to the server for stopping transmission of the current representation and starting transmission of the selected representation from said switching time. - obtaining media description data representative of the number of available representations, the ratios between the mean bit rates of the representations and switching times (t s) for the representations, - while receiving streaming media content in a current representation, storing the received representation in a buffer and playing the buffered representation: - determining a sample comprising a sampling time (t i) and the amount of data (B(t i)) in the buffer at the sampling time, and storing the N last samples, - determining (S2, S3), in function of said N last samples, a completion time (t comp) wherein the client device will have received streaming media content for the current representation up to a future switching time (t s), - in response to reaching said completion time (t comp): - for current representation and at least one other representation associated with said future switching time (t s), determining a prediction of the evolution of the amount of data (B(t)) in the buffer in function of the N last samples and said ratios, - selecting a representation in function of said predictions, and - if the selected representation is different from the current representation, sending at least one message to the server for stopping transmission of the current representation and starting transmission of the selected representation from said switching time. - determining a sample comprising a sampling time (t i) and the amount of data (B(t i)) in the buffer at the sampling time, and storing the N last samples, - determining (S2, S3), in function of said N last samples, a completion time (t comp) wherein the client device will have received streaming media content for the current representation up to a future switching time (t s), - in response to reaching said completion time (t comp): - for current representation and at least one other representation associated with said future switching time (t s), determining a prediction of the evolution of the amount of data (B(t)) in the buffer in function of the N last samples and said ratios, - selecting a representation in function of said predictions, and - if the selected representation is different from the current representation, sending at least one message to the server for stopping transmission of the current representation and starting transmission of the selected representation from said switching time. - for current representation and at least one other representation associated with said future switching time (t s), determining a prediction of the evolution of the amount of data (B(t)) in the buffer in function of the N last samples and said ratios, - selecting a representation in function of said predictions, and - if the selected representation is different from the current representation, sending at least one message to the server for stopping transmission of the current representation and starting transmission of the selected representation from said switching time.