https://discord.cloudflare.com logo
Join Discord
Powered by
# stream
  • o

    Onyx

    11/17/2022, 9:28 AM
    Or newer at least?
  • t

    tt2468

    11/17/2022, 9:28 AM
    My crappy test set up was with whatever version ubuntu 22.04 ships with, then I compiled gst-plugins-rs against that
  • o

    Onyx

    11/17/2022, 9:28 AM
    Ah, probably new enough then
  • o

    Onyx

    11/17/2022, 9:29 AM
    Word of caution, 1.18 does not work, DTLS fails, assuming libssl1 Vs libssl3 stuff
  • t

    tt2468

    11/17/2022, 9:29 AM
    yeah the main issue is that gstreamer pipeline syntax feels annoying so it's a grind to figure out
  • o

    Onyx

    11/17/2022, 9:29 AM
    Didn't check too much, was just happy to get it fixed
  • t

    tt2468

    11/17/2022, 9:29 AM
    for me
  • o

    Onyx

    11/17/2022, 9:29 AM
    Oh, it's a pain and very sensitive, yes
  • o

    Onyx

    11/17/2022, 9:29 AM
    Trial and error all day
  • t

    tt2468

    11/17/2022, 9:30 AM
    also vp8enc runs single threaded
  • t

    tt2468

    11/17/2022, 9:30 AM
    or seems to
  • t

    tt2468

    11/17/2022, 9:30 AM
    I can never get a usable stream out of it
  • o

    Onyx

    11/17/2022, 9:30 AM
    Looks like it, yes
  • o

    Onyx

    11/17/2022, 9:30 AM
    I do get ok performance on a Pi, what's the input you're feeding?
  • t

    tt2468

    11/17/2022, 9:31 AM
    ah looks like vp8enc does actually have a
    threads
    parameter, but iirc it didn't seem to affect much
  • t

    tt2468

    11/17/2022, 9:32 AM
    any kind of test. srt, rtmp, mpegts over tcp. I pull it in, videoconvert it down to an absurdly low resolution like 240p, and get a horrible unwatchable stream out of it from vp8enc
  • t

    tt2468

    11/17/2022, 9:33 AM
    the fact that nobody's example pipelines work reliably is always encouraging
  • r

    Rachel

    11/17/2022, 5:28 PM
    Did you modify the two transceivers to have SENDONLY for direction
  • t

    tt2468

    11/17/2022, 8:27 PM
    according to the code, I did ¯\_(ツ)_/¯
  • r

    Rachel

    11/18/2022, 12:38 AM
    how did you set them?
  • t

    tt2468

    11/18/2022, 12:40 AM
    iterate the transceivers and apply the SENDONLY value to the direction property
  • t

    tt2468

    11/18/2022, 12:40 AM
    and I do it after both audio and video are added to the peer connection
  • t

    tt2468

    11/18/2022, 12:40 AM
    but I didn't look into it much after that
  • t

    tt2468

    11/18/2022, 12:41 AM
    just tested and discovered that it only affected the video stream in the sdp
  • r

    Rachel

    11/18/2022, 1:00 AM
    interesting, I did do g_object_set for both transceivers and it set SENDONLY properly
  • t

    tt2468

    11/18/2022, 4:20 AM
    Could you post a code diff by chance?
  • t

    tt2468

    11/18/2022, 4:20 AM
    I'll check again what I'm doing
  • p

    Pause

    11/18/2022, 4:56 AM
    The Stream JWK can be used for signing, but not verifying. I believe SubtleCrypto prohibits verification with a private key.
  • p

    Pause

    11/18/2022, 5:19 AM
    Additionally, I am unclear on key management... if I use an API token to generate secret keys, but then I delete that token, do all keys borne of that token get revoked as well?
    k
    • 2
    • 7
  • u

    阿摸欸

    11/18/2022, 6:16 AM
    Is there any method to get mp4 default when i upload a stream
    b
    b
    • 3
    • 12
1...626364...105Latest