muxinc / mux-ruby

Official Mux API wrapper for ruby projects, supporting both Mux Data and Mux Video.
MIT License
51 stars 14 forks source link

Web-Inputs implementation #62

Closed DevAppStudio33 closed 1 year ago

DevAppStudio33 commented 1 year ago

When should we see and update to use web-inputs

     url = URI("https://api.mux.com/video/v1/web-inputs")

      https = Net::HTTP.new(url.host, url.port)
      https.use_ssl = true

      request = Net::HTTP::Post.new(url)
      request["Content-Type"] = "application/json"
      request["User-Agent"] = "\"Mux Ruby | 3.9.0\""
      request["Authorization"] = "Basic {key}"
      request.body = JSON.dump({
        "live_stream_id": "OoOLLGPGGMk",
        "url": "https://www.aol.com"
      })

     response = https.request(request)
philcluff commented 1 year ago

Hi @DevAppStudio33, right now Web Inputs is in a closed beta, and as such doesn't appear in our SDKs - as Web Inputs progresses through our product release process, we'll start to add it to the SDKs.

Thanks.