Crate servo_media_gstreamer_render

source
Expand description

Render is a trait to be used by GStreamer’s backend player

The purpose of this trait is to provide different accelerated video renders.

By default, the player will use a rendering mechanism based on mapping the raw video into CPU memory, but it might be other rendering mechanism. The main target for this trait are OpenGL-based render mechanisms.

Each platform (Unix, MacOS, Windows) might offer an implementation of this trait, so the player could setup a proper GStreamer pipeline, and handle the produced buffers.

Traits§