How can I stream video from byteArray
fun streamVideoListener(frame: ByteArray){
// receiving H.264 frames every 100ms.
}
I tried FFmpeg library. merged 100 frames and make few seconds video and add it to ExoPlayer playlist. but performance is not good at all. I also tried NanoHttpd library. I can send a simple .mp4 video file and play it with vlc or MxPlayer, but don't know how to stream a growing video file (without refreshing page)