Aliyun.Oss.LiveChannel.post_playlist
You're seeing just the function
post_playlist
, go back to Aliyun.Oss.LiveChannel module for more information.
Link to this function
post_playlist(bucket, channel_name, list_name, start_time, end_time)
Specs
post_playlist(String.t(), String.t(), String.t(), integer(), integer()) :: {:error, error()} | {:ok, Aliyun.Oss.Client.Response.t()}
PostVodPlaylist接口用于为指定的LiveChannel生成一个点播用的播放列表。OSS会查询指定时间范围内由该LiveChannel推流生成的ts文件,并将其拼装为一个m3u8播放列表。
Examples
iex> Aliyun.Oss.LiveChannel.post_playlist("some-bucket", "channe-name", "list.m3u8", 1472020031, 1472020226)
{:ok, %Aliyun.Oss.Client.Response{
data: "",
headers: [
{"Server", "AliyunOSS"},
{"Date", "Wed, 05 Dec 2018 02:34:57 GMT"},
...
]
}
}