How to get response time of request and judge if stream play Smoothly
How can I get the response time of each play request? For HLS, I think it's the elapsed between Wowza "receive the 'get m3u8' request" and "finish send the first ts segment".
And another question is, can I judge a playing stream if played smoothly? For HLS, in my opinion, if I can get every ts segment's response time, I can judge by comparing response time and ts segment's duration, but I do not know how to get this response time.
The player/device will download the chunks at the fastest rate it can with the bandwidth it has available. To speed up this process you can reduce the size of the chunks that the player/device is downloading.
By default the chunks are 10 seconds in duration and the player/device requires 3 chunks which is 30 seconds of stream before playing the first chunk.
To check if the stream is smooth you can play it using VLC player or an Apple iOS device. If the client does not have the bandwidth required to play the stream then it will not play smoothly. To accommodate clients with lower bandwidth you can provide the stream in multiple bitrates and use adaptive bitrate (ABR) streaming which means the client will play the highest bandwidth stream out of the ones available and a lower bitrate if required.