MuxWrapper.delete_playback_id
You're seeing just the function
delete_playback_id
, go back to MuxWrapper module for more information.
Specs
delete_playback_id( %Tesla.Client{adapter: term(), fun: term(), post: term(), pre: term()}, String.t(), String.t() ) :: atom()
Provide a function to delete specfic playback asset from Mux
Parameters
- client: provide by
client/0
- live_stream_id: live stream id
- playback_id: play back id
Example
iex> client = MuxWrapper.client()
%Tesla.Client{
adapter: nil,
fun: nil,
post: [],
pre: [
{Tesla.Middleware.BaseUrl, :call, ["https://api.mux.com"]},
{Tesla.Middleware.BasicAuth, :call,
[
%{
password: "your_password",
username: "your_username"
}
]}
]
}
iex> MuxWrapper.delete_playback_id(client, "stream_id_very_long", "playback_id_very_long")
:ok