Use GStreamer to play media streams in chromium. We implemented a Media Process which is own by the Browser Process and creates players on-demand. Any Video tag will be backed by a GStreamer pipeline that lives in the Media Process.
In the case of MSE, currently Render Process sends data to Media Process within IPC messages directly. It is done the same way for Android (but sent to Browser Process).
It should be more efficient to send this data through shared memory. Then we could wrap these shm buffers into a special GstBufferPool. And tell appsrc to use it. We should save 2 copies of encoded data.
In the case of MSE, currently Render Process sends data to Media Process within IPC messages directly. It is done the same way for Android (but sent to Browser Process).
It should be more efficient to send this data through shared memory. Then we could wrap these shm buffers into a special GstBufferPool. And tell appsrc to use it. We should save 2 copies of encoded data.