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

    tt2468

    11/17/2022, 9:18 AM
    So basically the error was entirely misleading
  • t

    tt2468

    11/17/2022, 9:19 AM
    simple-whip-client creates SDP offers in sendrecv mode, so it doesn't work with cloudflare stream right now
  • t

    tt2468

    11/17/2022, 9:19 AM
    and cloudflare stream also requires exactly one video and one audio stream, so any workflow I do I have to include a random, unused audio stream
  • o

    Onyx

    11/17/2022, 9:19 AM
    Ah, yeah, I love the one about broken driver on RPi and v4l2h264enc, what it actually means you're feeding it a wrong input format :D
  • o

    Onyx

    11/17/2022, 9:20 AM
    Yup, sendonly also bit me on the ass, had everything working and then it just broke after an update
  • t

    tt2468

    11/17/2022, 9:21 AM
    I was able to rewrite the direction by modifying simple-whip-client, but I couldn't figure out why it was only changing direction for the video stream and not audio
  • t

    tt2468

    11/17/2022, 9:21 AM
    so that was basically a dead end
  • t

    tt2468

    11/17/2022, 9:22 AM
    the go-whip client linked in the cloudflare docs is super rough, and doesn't include any samples
  • o

    Onyx

    11/17/2022, 9:22 AM
    I need to check what the parameter I used was, can look it up once I'm back at my machine
  • o

    Onyx

    11/17/2022, 9:23 AM
    And also clean up and decouple my code so I can post it on GitHub to hopefully help someone out
  • t

    tt2468

    11/17/2022, 9:23 AM
    oh, and compiling gstreamer is a total nightmare
  • t

    tt2468

    11/17/2022, 9:23 AM
    0/10 not recommended
  • o

    Onyx

    11/17/2022, 9:23 AM
    Oh yes, especially the rust plugins
  • t

    tt2468

    11/17/2022, 9:24 AM
    the rust stuff is the easiest imo
  • o

    Onyx

    11/17/2022, 9:24 AM
    That's why I gave up on whipsink, just too much pain since it's not in the repos
  • t

    tt2468

    11/17/2022, 9:24 AM
    the main issue is that nobody lists the damn dependencies you need
  • t

    tt2468

    11/17/2022, 9:24 AM
    so yeah I can build a barebones gstreamer with almost no dependencies
  • t

    tt2468

    11/17/2022, 9:24 AM
    which is cool
  • t

    tt2468

    11/17/2022, 9:24 AM
    but there's 0 help if you want to build it out
  • o

    Onyx

    11/17/2022, 9:24 AM
    Couldn't get the cross compile working properly for it, and it ate like 12 gogs of space and took an hour on a Pi :D
  • t

    tt2468

    11/17/2022, 9:25 AM
    yuck
  • t

    tt2468

    11/17/2022, 9:25 AM
    currently looking at ffmpeg and libdatachannel
  • t

    tt2468

    11/17/2022, 9:25 AM
    and then just implementing whip myself
  • o

    Onyx

    11/17/2022, 9:25 AM
    Ffmpeg docs though, ugh
  • o

    Onyx

    11/17/2022, 9:26 AM
    Gstreamer is bad, but ffmpeg...
  • t

    tt2468

    11/17/2022, 9:26 AM
    eh, helps to already know all about ffmpeg
  • o

    Onyx

    11/17/2022, 9:26 AM
    libffmpeg I mean, not the CLI stuff
  • t

    tt2468

    11/17/2022, 9:26 AM
    right
  • o

    Onyx

    11/17/2022, 9:26 AM
    And no, I'm no expert to begin with
  • o

    Onyx

    11/17/2022, 9:27 AM
    Just wondering, gstreamer 1.20 ?
1...616263...105Latest