bitwave-tv / brave

Basic Real-time AV Editor - allowing you to preview, mix, and route live audio and video streams on the cloud
Apache License 2.0
15 stars 9 forks source link

Create CEF WebRenderer #5

Open DispatchCommit opened 4 years ago

DispatchCommit commented 4 years ago

After much trial, error, guessing, and using instructions found in similar repos: centricular/gstcefsrc

cd gst-WebRenderSrc
cmake -DCMAKE_BUILD_TYPE=Release .
CC=clang CXX=clang++ make -stdlib=g++
make install

output:

[ 96%] Built target libcef_dll_wrapper
[ 99%] Built target webrendersrc
[100%] Built target cefsubprocess
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/gstreamer-1.0/libwebrendersrc.so
-- Up-to-date: /usr/local/bin/cefsubprocess
DispatchCommit commented 4 years ago

If gst-inspect-1.0 does not find custom plugins:

export LD_LIBRARY_PATH=/usr/local/lib
export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0
DispatchCommit commented 4 years ago

Inspect gst-libwebrendersrc:

gst-inspect-1.0 libwebrendersrc.so
- - or - -
gst-inspect-1.0 /usr/local/lib/gstreamer-1.0/libwebrendersrc.so

note: you do not need to specify /usr/local/lib/... when GST_PLUGIN_PATH is available.