Page 1 of 1

How to play MPEG TS from websockets

Posted: 09 Apr 2021 17:11
by mvelanka
We have MPEG TS coming from satellite. We have two alternatives to view it in browser.

1 We can push the TS into chunks of .ts files and create a manifest file (.m3u8 extension) and view that file in VLC player on our PC........This is working without problem.

2. We could send those TS packets via web-socket. .... and possibly read those packets on PC and feed them to VLC player that will play them.

I need to know how to make the option 2 above possible. How do I make VLC player get input from web-socket.

Please let me know or point me to any guideline if this is already discussed.
Thanks
-Mahesh

Re: How to play MPEG TS from websockets

Posted: 09 Apr 2021 20:48
by Rémi Denis-Courmont
By writing a plugin that reads the MPEG-TS feed from a WebSocket. I think you answered your own question?

Re: How to play MPEG TS from websockets

Posted: 10 Apr 2021 17:03
by mvelanka
Rémi Denis-Courmont,
Thanks for taking time to reply my question.
Can you please point me to where I learn to develop such a VLC plugin?
Thanks
-Mahesh