/mux_wrapper

API wrapper for Mux

Primary LanguageElixirMIT LicenseMIT

MuxWrapper

Mux API wrapper, trun API response JSONB to embedded schema.

Todo

VIDEO API

Assets

  • Create an asset
  • Retrieve an asset
  • Delete an asset
  • List assets
  • Retrieve asset input info
  • Update mp4 support
  • Update master access
  • Create a subtitle text track
  • Delete a subtitle text track

Playback IDs

  • Create a playback ID
  • Retrieve a playback ID
  • Delete a playback ID
  • Retrieve an Asset or Live Stream ID

Live Streams

  • Create a live stream
  • Delete a live stream
  • List live streams
  • Signal a live stream is finished
  • Disable a live stream
  • Enable a live stream
  • Create a live stream playback ID
  • Delete a live stream playback ID
  • Retrieve a live stream
  • Reset a live stream’s stream key

Simulcast Targets

  • Create a simulcast target
  • Retrieve a simulcast target
  • Delete a simulcast target

STREAM URL API

Playback

  • Play an asset

IMAGE URL API

Thumbnails

  • Get Thumbnail

Animated GIFs

  • Get GIF

Storyboards

  • Get Image
  • Get VTT
  • Get JSON

Installation

If available in Hex, the package can be installed by adding mux_wrapper to your list of dependencies in mix.exs:

def deps do
  [
    {:mux_wrapper, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mux_wrapper.