r/servo • u/VFT_zer0 • 3d ago
Servo Browser Engine Making obs-browser module in Servo
I'm pissed that CEF is colonized all embedded browser engines, including obs-browser module, so, i making proof of concept that Servo can be used insted
First i tried use capi, but i have many problems with headers and decelarations of structs, so after i made rust wrapper and own ffi bindings, and its works
and here first result, rendering servo inside obs as source

THIS IS JUST PROOF OF CONCEPT, not think of this as a actual project (but maybe in future)
what missing is dockable panel, js <-> obs comms, but i saw some issues/PRs in github that can make it work
That's it. Have a good day
1
u/VFT_zer0 10h ago
update: browser panels, kinda exists, sooo, i decided to make a prototype
tested only: wayland + xcb (xwayland)
(to build obs with wayland support, need to remove wayland blockers in obs-studio source)
P.S.: somehow i get downvote in obs reddit, why?
P.S.s: i saw servo crate, so in future instead submodule i use crate, when it updated to new 0.9 version or later
1
u/a-frog-with-no-name 3d ago
yess i love to see it :3