i am getting h264 stream how can i via a websocket client and i want to forward it via websocket server then play it to my website?

Viewed 31

I have two python scripts. one is working as a WebSocket client that fetches h264 live stream from another website. and another script is the WebSocket server that sends this h264 live stream to my website. but the problem is how can I play h264 live stream over WebSockets.I tried to find it in google, and StackOverflow but did not get a proper answer or code.

alternative approach, my first script(WebSocket client) fetches 60 frames and appends it to an mp4 video file and my WebSocket server (second script) forwards this mp4 over WebSocket but the problem is the same how can I play it I tried base64 but not succeed in that.

0 Answers
Related