Coder Social home page Coder Social logo

Comments (11)

ehfd avatar ehfd commented on May 13, 2024 1

@elgalu Oh, and thank you for the sponsorship. I am quite busy so the repository is in maintenance mode, thus I regret not being able to be more active but I really appreciate it. I will add more backlogs.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024 1

sudo apt-get update && sudo apt-get install --no-install-recommends -y adwaita-icon-theme-full build-essential python3-pip python3-dev python3-gi python3-setuptools python3-wheel tzdata sudo udev xclip x11-utils xdotool wmctrl jq gdebi-core x11-xserver-utils xserver-xorg-core libopus0 libgdk-pixbuf2.0-0 libsrtp2-1 libxdamage1 libxml2-dev libwebrtc-audio-processing1 libcairo-gobject2 pulseaudio libpulse0 libpangocairo-1.0-0 libgirepository1.0-dev libjpeg-dev libvpx-dev zlib1g-dev x264

This was the long list of dependencies, where I believe you might want to find or build 'nice', 'webrtc', 'srtp' manually on Conda. An alternative for apt's libwebrtc-audio-processing1, libsrtp2-1, and gir1.2-nice-0.1 or libnice10 is needed. I see that there is a separate package gstreamer1.0-nice in apt.

I think: pylibsrtp provides srtp.

https://webrtc.googlesource.com/src
https://gitlab.freedesktop.org/libnice/libnice

https://developer.ridgerun.com/wiki/index.php/GStreamer_WebRTC_Wrapper/Getting_the_Code/Building_and_Installation_Guide
https://gitlab.freedesktop.org/libnice/libnice/-/issues/112
https://webrtcmagazine.wordpress.com/tag/libnice/

This is pretty much uncharted territory, and I would really appreciate if you could test things. You could ask on #gstreamer at oftc.org IRC or #_oftc_#gstreamer:matrix.org on Matrix for help from GStreamer devs.

Discussion continues on issue selkies-project/selkies-gstreamer#63.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

@danisla any clues?

from docker-nvidia-egl-desktop.

elgalu avatar elgalu commented on May 13, 2024

Perhaps related:

WARNING:root:Namespace(json_config='/tmp/selkies_config.json', addr='127.0.0.1', port='8080', enable_basic_auth='true',
basic_auth_user='lgallucci', basic_auth_password='****', web_root='/opt/gst-web', coturn_web_uri='',
coturn_web_username='selkies-0b71d3bd1522', coturn_auth_header_name='x-auth-user', rtc_config_json='/tmp/rtc.json',
turn_shared_secret='', turn_username='', turn_password='', turn_host='', turn_port='', turn_protocol='udp',
turn_tls='false', uinput_mouse_socket='', uinput_js_socket='', enable_audio='true', audio_channels='2',
enable_clipboard='true', app_auto_init='true', app_ready_file='/var/run/appconfig/appready', framerate='30',
video_bitrate='2000', audio_bitrate='64000', encoder='nvh264enc', enable_resize='false', enable_cursors='true',
debug_cursors='false', cursor_size='24', metrics_port='8000', debug=False)

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

@elgalu Need all the logs. And which GStreamer did you use?

from docker-nvidia-egl-desktop.

elgalu avatar elgalu commented on May 13, 2024

Hi, thanks again:) here is the full output of GST_DEBUG=7 selkies-gstreamer --addr="0.0.0.0" --port="6080" https://gist.githubusercontent.com/elgalu/dc6e52d98e6effcc66c4df363bab9bbb/raw/91265f25082f94b2d2fd94a2ed66b0d5524406e5/selkies-gstreamer.sh

Now I switched from WEBRTC_ENCODER="nvh264enc" to "x264enc" so nvcodec is no longer in the list of missing plugins:

gstwebrtc_app.GSTWebRTCAppError: ('Missing gstreamer plugins:', 
['nice', 'webrtc', 'dtls', 'srtp', 'rtp', 'sctp', 'rtpmanager', 'ximagesrc'])

original posted error:

gstwebrtc_app.GSTWebRTCAppError: ('Missing gstreamer plugins:', 
['nice', 'webrtc', 'dtls', 'srtp', 'rtp', 'sctp', 'rtpmanager', 'ximagesrc', 'nvcodec'])

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

Just to confirm, did you install all the apt dependencies?

from docker-nvidia-egl-desktop.

elgalu avatar elgalu commented on May 13, 2024

Yes, all apt dependencies are installed. GStreamer: SELKIES_VERSION="1.3.7". Perhaps the introduction of conda messed up the plugins search paths. We'll use xpra for now. I'll re-open if I can create a reproducible public container some day. Thanks!

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

Yes, all apt dependencies are installed. GStreamer: SELKIES_VERSION="1.3.7". Perhaps the introduction of conda messed up the plugins search paths. We'll use xpra for now. I'll re-open if I can create a reproducible public container some day. Thanks!

Ah, wait. Conda. You need to install all the dependencies in Conda.

from docker-nvidia-egl-desktop.

ehfd avatar ehfd commented on May 13, 2024

Search in conda-forge all the dependencies including Cuda and install everything.

from docker-nvidia-egl-desktop.

elgalu avatar elgalu commented on May 13, 2024

Cool! so I installed a few gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-python gst-libav webrtcvad and now the list of missing plugins is reduced to 3: 'Missing gstreamer plugins:', ['nice', 'webrtc', 'srtp']

from docker-nvidia-egl-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.