mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
wpe: Enable WebAudio
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2252>
This commit is contained in:
parent
f4bc5c6c65
commit
81ced7932f
1 changed files with 3 additions and 0 deletions
|
@ -295,6 +295,9 @@ WPEView::WPEView(WebKitWebContext* web_context, GstWpeVideoSrc* src, GstGLContex
|
||||||
g_signal_connect(webkit.view, "load-failed-with-tls-errors", G_CALLBACK(s_loadFailedWithTLSErrors), src);
|
g_signal_connect(webkit.view, "load-failed-with-tls-errors", G_CALLBACK(s_loadFailedWithTLSErrors), src);
|
||||||
g_signal_connect(webkit.view, "notify::estimated-load-progress", G_CALLBACK(s_loadProgressChaned), src);
|
g_signal_connect(webkit.view, "notify::estimated-load-progress", G_CALLBACK(s_loadProgressChaned), src);
|
||||||
|
|
||||||
|
auto* settings = webkit_web_view_get_settings(webkit.view);
|
||||||
|
webkit_settings_set_enable_webaudio(settings, TRUE);
|
||||||
|
|
||||||
gst_wpe_video_src_configure_web_view(src, webkit.view);
|
gst_wpe_video_src_configure_web_view(src, webkit.view);
|
||||||
|
|
||||||
gchar* location;
|
gchar* location;
|
||||||
|
|
Loading…
Reference in a new issue