steep-balloon-41261
08/31/2023, 11:44 AMenough-zebra-80131
08/31/2023, 12:37 PMenough-zebra-80131
08/31/2023, 12:48 PMambitious-lunch-95812
08/31/2023, 4:04 PMambitious-lunch-95812
08/31/2023, 4:07 PMambitious-lunch-95812
08/31/2023, 4:09 PMGLMemory
and CUDAMemory
, but I haven't tried those out yetquaint-garden-91907
09/05/2023, 9:00 PMquaint-garden-91907
09/05/2023, 9:00 PMquaint-garden-91907
09/05/2023, 9:01 PMquaint-garden-91907
09/05/2023, 9:03 PMenough-zebra-80131
09/06/2023, 7:09 AMenough-zebra-80131
09/06/2023, 7:10 AMquaint-garden-91907
10/16/2023, 2:45 PMenough-zebra-80131
10/16/2023, 3:27 PMenough-zebra-80131
10/16/2023, 3:32 PMquaint-garden-91907
10/16/2023, 3:33 PMquaint-garden-91907
10/16/2023, 3:33 PMenough-zebra-80131
10/16/2023, 3:34 PMquaint-garden-91907
10/16/2023, 3:34 PMenough-zebra-80131
10/16/2023, 3:34 PMenough-zebra-80131
10/16/2023, 3:35 PMenough-zebra-80131
10/16/2023, 3:35 PMquaint-garden-91907
10/16/2023, 3:35 PMenough-zebra-80131
10/16/2023, 3:38 PMCUDAMemory
surface - would it be able to use nvdec to decode svc streams (vp9, av1)?quaint-garden-91907
10/16/2023, 3:38 PMenough-zebra-80131
10/16/2023, 3:39 PMimportant-ram-81230
11/07/2023, 5:24 PMcargo cbuild -p gst-plugin-rswebrtc
Error: CliError { error: Some(package(s) `gst-plugin-rswebrtc` not found in workspace `/gst-plugins-rs`), exit_code: 101 }
#rustNewbenough-zebra-80131
11/07/2023, 5:33 PMcargo cbuild -p gst-plugin-webrtc
important-ram-81230
11/07/2023, 5:33 PMenough-zebra-80131
11/07/2023, 5:34 PMgst-plugin-webrtc
not gst-plugin-rswebrtc
important-ram-81230
11/07/2023, 5:35 PMlivekitwebrtcsink
element after running that one.
ββ$ cargo cbuild -p gst-plugin-webrtc
Skipping git submodule `<https://github.com/gtk-rs/gir>` due to update strategy in .gitmodules
Skipping git submodule `<https://github.com/gtk-rs/gir-files>` due to update strategy in .gitmodules
Skipping git submodule `<https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git>` due to update strategy in .gitmodules
Skipping git submodule `<https://github.com/gtk-rs/gir>` due to update strategy in .gitmodules
Skipping git submodule `<https://github.com/gtk-rs/gir-files>` due to update strategy in .gitmodules
Skipping git submodule `<https://github.com/gtk-rs/gir>` due to update strategy in .gitmodules
Skipping git submodule `<https://github.com/gtk-rs/gir-files>` due to update strategy in .gitmodules
Finished dev [optimized + debuginfo] target(s) in 0.85s
~/playground/gst-plugins-rs [main]
ββ$ GST_PLUGIN_PATH="target/aarch64-apple-darwin/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 livekitwebrtcsink
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
No such element or plugin 'livekitwebrtcsink'
important-ram-81230
11/07/2023, 5:39 PMGST_PLUGIN_PATH
π€ because I re-ran and it appears to compile the livekit stuffenough-zebra-80131
11/07/2023, 5:40 PMimportant-ram-81230
11/07/2023, 5:40 PMwhich gst-inspect-1.0
/Library/Frameworks/GStreamer.framework/Commands/gst-inspect-1.0
important-ram-81230
11/07/2023, 5:40 PMenough-zebra-80131
11/07/2023, 5:41 PMexport DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/GStreamer.framework/Libraries"
important-ram-81230
11/07/2023, 5:42 PMββ$ export DYLD_FALLBACK_LIBRARY_PATH="/Library/Frameworks/GStreamer.framework/Libraries"
~/playground/gst-plugins-rs [main]
ββ$ GST_PLUGIN_PATH="target/aarch64-apple-darwin/debug:$GST_PLUGIN_PATH" gst-inspect-1.0 livekitwebrtcsink
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
No such element or plugin 'livekitwebrtcsink'
enough-zebra-80131
11/07/2023, 5:43 PMexport GST_PLUGIN_PATH=target/debug
enough-zebra-80131
11/07/2023, 5:43 PMenough-zebra-80131
11/07/2023, 5:43 PMcargo build -p gst-plugin-webrtc
important-ram-81230
11/07/2023, 5:44 PMquaint-garden-91907
11/07/2023, 5:44 PMquaint-garden-91907
11/07/2023, 5:44 PMgst-inspect-1.0 /path/to/plugin.so
quaint-garden-91907
11/07/2023, 5:45 PMimportant-ram-81230
11/07/2023, 5:50 PMcargo build -p gst-plugin-webrtc
2. gst-inspect-1.0 target/debug/libgstrswebrtc.dylib
(maybe we want a different file in here?)
outputs:
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/auto/plugin.rs:9:1:
assertion failed: ::glib::types::instance_of::<Self>(ptr as *const _)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/andresgarcia/.cargo/git/checkouts/gstreamer-rs-79e52a2d27eb91a3/4b3d9f5/gstreamer/src/log.rs:577:1:
Unable to find `DebugCategory` with name GST_PLUGIN_LOADING
fatal runtime error: failed to initiate panic, error 5
zsh: abort gst-inspect-1.0 target/debug/libgstrswebrtc.dylib
enough-zebra-80131
11/07/2023, 5:57 PMimportant-ram-81230
11/07/2023, 6:07 PMrustc --version
rustc 1.73.0 (cc66ad468 2023-10-03)
quaint-garden-91907
11/07/2023, 6:09 PMquaint-garden-91907
11/07/2023, 6:10 PMimportant-ram-81230
11/07/2023, 6:12 PMgst-inspect-1.0
by itself works and outputs standard pluginsimportant-ram-81230
11/07/2023, 6:12 PMquaint-garden-91907
11/07/2023, 6:14 PMDebugCategory
with name GST_PLUGIN_LOADING" sounds like a GStreamer install problemimportant-ram-81230
11/07/2023, 6:15 PMquaint-garden-91907
11/07/2023, 6:16 PMgst-inspect-1.0 webrtcbin
to check if the C plugins load correctly ?important-ram-81230
11/07/2023, 6:18 PMquaint-garden-91907
11/07/2023, 6:18 PMimportant-ram-81230
11/07/2023, 6:18 PMgst-inspect-1.0 --version
gst-inspect-1.0 version 1.22.6
GStreamer 1.22.6
quaint-garden-91907
11/07/2023, 6:19 PMimportant-ram-81230
11/07/2023, 6:37 PMThe following warnings were emitted during compilation:
warning: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "gstreamer-1.0" "gstreamer-1.0 >= 1.20"` did not exit successfully: exit status: 1
error: failed to run custom build command for `gstreamer-sys v0.22.0 (<https://gitlab.freedesktop.org/gstreamer/gstreamer-rs#4b3d9f58>)`
Caused by:
process didn't exit successfully: `/Users/andresgarcia/playground/gst-plugins-rs/target/debug/build/gstreamer-sys-9527a455f4c7e342/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=GSTREAMER_1.0_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-apple-darwin
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_apple_darwin
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:warning=`PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "gstreamer-1.0" "gstreamer-1.0 >= 1.20"` did not exit successfully: exit status: 1
error: could not find system library 'gstreamer-1.0' required by the 'gstreamer-sys' crate
--- stderr
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
Package gstreamer-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-1.0' found
I think before I had some plugins installed through homebrew, it seems like the rust-sdk might require some of the other plugins?enough-zebra-80131
11/07/2023, 6:50 PM# Tell pkg-config where to find the .pc files
$ export PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/Versions/1.0/lib/pkgconfig
# We will use the pkg-config provided by the GStreamer.framework
$ export PATH=/Library/Frameworks/GStreamer.framework/Versions/1.0/bin:$PATH
from here:
https://gstreamer.freedesktop.org/documentation/installing/on-mac-osx.html?gi-language=cenough-zebra-80131
11/07/2023, 6:52 PMimportant-ram-81230
11/07/2023, 6:53 PM.... SOME WARNIGNS ...
Factory Details:
Rank none (0)
Long-name LiveKitWebRTCSink
Klass Sink/Network/WebRTC
Description WebRTC sink with LiveKit signaller
Author Olivier CrΓͺte <olivier.crete@collabora.com>
Documentation <https://gstreamer.freedesktop.org/documentation/rswebrtc/livekitwebrtcsink.html>
Plugin Details:
Name rswebrtc
Description GStreamer plugin for high level WebRTC elements and a simple signaling server
Filename target/debug/libgstrswebrtc.dylib
Version 0.12.0-alpha.1-a8205d5b
License MPL-2.0
Source module gst-plugin-webrtc
Documentation <https://gstreamer.freedesktop.org/documentation/rswebrtc/>
Source release date 2023-11-07
Binary package gst-plugin-webrtc
Origin URL <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs>
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBin
+----GstBaseWebRTCSink
+----GstLiveKitWebRTCSink
important-ram-81230
11/07/2023, 6:54 PMDYLD_FALLBACK_LIBRARY_PATH
but I was missing the other exports/they were not set correctly.important-ram-81230
11/07/2023, 6:54 PMimportant-ram-81230
11/07/2023, 7:11 PMgst-launch-1.0 autovideosrc ! video/x-raw,framerate=30/1,width=1280,height=720 ! queue ! \
livekitwebrtcsink signaller::ws-url=<ws://127.0.0.1:7880> signaller::api-key=devkey signaller::secret-key=secret signaller::room-name=test
important-ram-81230
11/07/2023, 7:36 PMgst-launch-1.0 autovideosrc ! videoconvert ! video/x-raw,framerate=30/1,width=1280,height=720 ! queue ! \
livekitwebrtcsink name=webrtc_sink signaller::ws-url=<ws://127.0.0.1:7880> signaller::api-key=devkey signaller::secret-key=secret signaller::room-name=test \
autoaudiosrc ! queue ! webrtc_sink.
quaint-garden-91907
11/07/2023, 7:36 PM