You must play the unfinished video file with videojs / videotag / canvas. Stream should be played on all mobile devices.
There is an iptv video stream recorded in real time on the disc.
I can not reproduce it in html5 players until it is completed. Only one solution comes to mind. Read a certain number of bytes from a file, send via web sockets to the client, and play back.
Knowledge in js is almost zero, I can only receive data from the server (c #), well, then I don’t know how to play the player. I will be glad to any info about how to feed the stream to the player
upd1:
It only happens if you write a stream to webm using vlc, then most players play a video file on the fly! BUT stream decoding takes 20-30% of CPU on i7 kabylake and because I plan to conduct more than ten broadcasts simultaneously, this option is no longer available
upd2:
decoding in OGG takes very few resources and fits, but for some reason the sound lags behind (2-3 seconds) and I have already tried everything, but could not fix it. There are delays with sound only when ogg on http is streamlined; for example, there are no delays in rtsp