summaryrefslogtreecommitdiff
path: root/ext/wpe/gstwpesrcbin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wpe/gstwpesrcbin.cpp')
-rw-r--r--ext/wpe/gstwpesrcbin.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/ext/wpe/gstwpesrcbin.cpp b/ext/wpe/gstwpesrcbin.cpp
index 2b50aaf9d..b080b1f43 100644
--- a/ext/wpe/gstwpesrcbin.cpp
+++ b/ext/wpe/gstwpesrcbin.cpp
@@ -32,6 +32,26 @@
*
* Additionally, any audio stream created by WPE is exposed as "sometimes" audio
* source pads.
+ *
+ * This source also relays GStreamer bus messages from the GStreamer pipelines
+ * running inside the web pages. Error, warning and info messages are made ours
+ * with the addition of the following fields into the GstMessage details (See
+ * gst_message_parse_error_details(), gst_message_parse_warning_details() and
+ * gst_message_parse_info_details()):
+ * * `wpesrc_original_src_path`: [Path](gst_object_get_path_string) of the
+ * original element posting the message
+ *
+ * Other message types are posted as [element custom](gst_message_new_custom)
+ * messages reusing the same GstStructure as the one from the message from the
+ * message posted in the web page with the addition of the following fields:
+ * * `wpesrc_original_message_type`: Type of the original message from
+ * gst_message_type_get_name().
+ * * `wpesrc_original_src_name`: Name of the original element posting the
+ * message
+ * * `wpesrc_original_src_type`: Name of the GType of the original element
+ * posting the message
+ * * `wpesrc_original_src_path`: [Path](gst_object_get_path_string) of the
+ * original element positing the message
*/
#include "gstwpesrcbin.h"