mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-09-02 01:33:47 +00:00
webrtc: janus: log signaller state changes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/2244>
This commit is contained in:
parent
e2ab2ea9ff
commit
1000035974
1 changed files with 15 additions and 0 deletions
|
@ -5968,6 +5968,14 @@ pub(super) mod janus {
|
|||
webrtcsink::JanusVRSignallerState,
|
||||
};
|
||||
|
||||
static CAT: LazyLock<gst::DebugCategory> = LazyLock::new(|| {
|
||||
gst::DebugCategory::new(
|
||||
"janusvrwebrtcsink",
|
||||
gst::DebugColorFlags::empty(),
|
||||
Some("WebRTC Janus Video Room sink"),
|
||||
)
|
||||
});
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
struct JanusSettings {
|
||||
use_string_ids: bool,
|
||||
|
@ -6037,6 +6045,13 @@ pub(super) mod janus {
|
|||
state.janus_state = janus_state;
|
||||
}
|
||||
|
||||
gst::debug!(
|
||||
CAT,
|
||||
imp = self_,
|
||||
"signaller state updated: {:?}",
|
||||
janus_state
|
||||
);
|
||||
|
||||
self_.obj().notify("janus-state");
|
||||
|
||||
None
|
||||
|
|
Loading…
Reference in a new issue