How to play YUV buffer on browser tab where buffer received from network using plugin.

10 views
Skip to first unread message

ಮೋಹನ್ ಗೌಡ

unread,
Jul 30, 2018, 8:49:42 AM7/30/18
to firebreath-dev

What is the best way to transfer binary data from plugin to browser. We want to play YUV buffer received from network on browser tab. currently am converting to base64 and giving via callback. but it is not efficient and am finding below issues

1> CPU and Memory is going up 2> Callback events are not passed when we change the browser tab, later all events are given at one shot on moving back to our tab.

I would also like to know is there any way we can directly draw YUV frame on browser using plugin thread itself.

Thanks in advance.

Reply all
Reply to author
Forward
0 new messages