Closed peck closed 4 years ago
Thanks for catching that @peck !
Our api docs are misleading, passthrough
should be set on the livestream and not within new_asset_settings
. Assets that are created from a livestream will inherit the given passthrough.
Mux.Video.LiveStreams.create(client, %{playback_policy: "public", passthrough: "blarg", new_asset_settings: %{playback_policy: "public", mp4_support: "standard"}})
We're going to update our docs soon and are working on returning an appropriate error message if passthrough is set within the new_asset_settings option.
@peck closing this because I believe we updated the docs for creating a live stream. Please re-open if you are having issues with this library. Thanks for bringing it up
passthrough
is missing in the "new_asset_settings" returned.