diff --git a/src/main/java/com/zcloud/util/ali/GetPlayInfo.java b/src/main/java/com/zcloud/util/ali/GetPlayInfo.java index 5f9ce30..5001770 100644 --- a/src/main/java/com/zcloud/util/ali/GetPlayInfo.java +++ b/src/main/java/com/zcloud/util/ali/GetPlayInfo.java @@ -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 playInfoList = response.getPlayInfoList(); GetPlayInfoResponse.VideoBase videoBase = response.getVideoBase();