Aliyun.Oss.LiveChannel.get_history
You're seeing just the function
get_history
, go back to Aliyun.Oss.LiveChannel module for more information.
Link to this function
get_history(bucket, channel_name)
Specs
GetLiveChannelHistory接口用于获取指定LiveChannel的推流记录。使用GetLiveChannelHistory接口最多会返回指定LiveChannel最近的10次推流记录。
Examples
iex> Aliyun.Oss.LiveChannel.get_history("some-bucket", "channe-name")
{:ok, %Aliyun.Oss.Client.Response{
data: %{"LiveChannelHistory" => %{
"LiveRecord" => [
# ...
]
}},
headers: [
{"Server", "AliyunOSS"},
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}
}