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.