修改播放地址域名为唐山中胜
parent
a84fe656f0
commit
735b5e73d6
|
@ -27,6 +27,7 @@ public class GetPlayInfo {
|
|||
DefaultAcsClient client = initVodClient();
|
||||
GetPlayInfoRequest request = new GetPlayInfoRequest();
|
||||
request.setVideoId(pd.getString("videoId"));
|
||||
request.setPlayConfig("{\"PlayDomain\":" + "\"tszs.qhdsafety.com\"}");
|
||||
return client.getAcsResponse(request);
|
||||
}
|
||||
|
||||
|
@ -47,7 +48,7 @@ public class GetPlayInfo {
|
|||
request.setAuthTimeout(Long.valueOf(pd.getString("timeOut")));
|
||||
request.setFormats(pd.getString("formats"));
|
||||
request.setResultType("Multiple");
|
||||
// request.setPlayConfig("{\"PlayDomain\":" + "\"" + pd.getString("DOMAIN") + "\"}");
|
||||
request.setPlayConfig("{\"PlayDomain\":" + "\"tszs.qhdsafety.com\"}");
|
||||
GetPlayInfoResponse response = client.getAcsResponse(request);
|
||||
List<GetPlayInfoResponse.PlayInfo> playInfoList = response.getPlayInfoList();
|
||||
GetPlayInfoResponse.VideoBase videoBase = response.getVideoBase();
|
||||
|
|
Loading…
Reference in New Issue