A method for in-band speed test for live streams is described. A user device opens a network connection for transmitting of a video item as a livestream, captures video data and audio data, encapsulates the video data and the audio data in one or more unused virtual channels, transmits the one or more unused virtual channels as stream data, determines network conditions based on transmission of the stream data, and sets quality of the video item to be transmitted as the livestream based on the network conditions. The server device receives the stream data including the video data and the audio data in the one or more unused virtual channels and discards the video data and the audio data in the one or more unused virtual channels