Patent attributes
A method for serving a media stream to a client device includes transmitting a media stream encoded at a first bitrate to a client device and receiving one or more control messages from the client device. Each control message indicates a player state of a media player of the client device at a time corresponding to the control message and a buffer state of a buffer of the client device at the time. The method includes determining a server state of a server, indicating a network bandwidth available to the server. The method includes determining a second bitrate for the media stream based on the player state, the buffer state, and the network bandwidth available to the server. The method further includes instructing a transcoder to encode the media content at the second bitrate to obtain an adjusted media stream and transmitting the adjusted media stream to the client device.