R
R
rusrich2021-12-07 13:06:14
JavaScript
rusrich, 2021-12-07 13:06:14

How to stop HLS video stream in Flowplayer?

Good afternoon.

I am using Flowplayer for HLS online streaming.

var video = flowplayer('#player',
  { token : "keyboardcat"
  , src   : "cdn.example.com/video.m3u8"
  })


I'm starting to get a stream of data.
But when you press the pause or stop buttons, the data continues to flow.
Data is also received when the video.stop() function is called on the Flowplayer instance.

In the NETWORK console, both TS chunks and M3U8 chunks come in.

The bottom line is that the player is displayed in the information block, which changes every 20 seconds.
And to save traffic, I would like to interrupt the broadcast.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question