Closed gozmanyoni closed 9 months ago
@rhysmorgan134 @steelbrain I also suspect with this we might not need the keyFrame interval
super super exciting! Hows the performance difference? I'll check it out as soon as I can
@rhysmorgan134 from what I have noticed:
Did not measure in any scientific way though - the worker has an internal FPS indicator so we could print that and also calculate fps with jmuxer.
This PR is based on https://github.com/codewithpassion/foxglove-studio-h264-extension/tree/main
I re-used the worker from there to directly decode h264 frames and draw them on a canvas using WebGL - this replaces jmuxer, and offloads decoding to hardware + a separate thread.