Aliyun.Oss.LiveChannel.get_info
You're seeing just the function
get_info
, go back to Aliyun.Oss.LiveChannel module for more information.
Link to this function
get_info(bucket, channel_name)
Specs
GetLiveChannelInfo接口用于获取指定LiveChannel的配置信息。
Examples
iex> Aliyun.Oss.LiveChannel.get_info("some-bucket", "channe-name")
{:ok, %Aliyun.Oss.Client.Response{
data: %{
"LiveChannelConfiguration" => %{
"Description" => nil,
"Status" => "enabled",
"Target" => %{
"FragCount" => "3",
"FragDuration" => "2",
"PlaylistName" => "playlist.m3u8",
"Type" => "HLS"
}
}
},
headers: [
{"Server", "AliyunOSS"},
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}
}