指定播放地址域名
This commit is contained in:
@@ -104,6 +104,7 @@ func GetVideoM3U8(content string) (playinfo *vod20170321.GetPlayInfoResponseBody
|
|||||||
// 4.1 通过播放凭证播放
|
// 4.1 通过播放凭证播放
|
||||||
getPlayInfoReponse, _err := client.GetPlayInfo(&vod20170321.GetPlayInfoRequest{
|
getPlayInfoReponse, _err := client.GetPlayInfo(&vod20170321.GetPlayInfoRequest{
|
||||||
VideoId: createUploadVideoResponse.Body.VideoId,
|
VideoId: createUploadVideoResponse.Body.VideoId,
|
||||||
|
PlayConfig: tea.String(`{"PlayDomain":"live.gameui.net","Format":"m3u8","Definition":"LD","AuthTimeout":3600,"StreamType":"video"}`),
|
||||||
})
|
})
|
||||||
if _err != nil {
|
if _err != nil {
|
||||||
return nil, _err
|
return nil, _err
|
||||||
|
Reference in New Issue
Block a user