-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
550 additions
and
267 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
libsuperplayer/src/main/java/com/tencent/liteav/demo/play/SuperPlayerVideoIdV2.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.tencent.liteav.demo.play; | ||
|
||
public class SuperPlayerVideoIdV2 { | ||
public String fileId; // 腾讯云视频fileId | ||
|
||
public String timeout; // 【可选】加密链接超时时间戳,转换为16进制小写字符串,腾讯云 CDN 服务器会根据该时间判断该链接是否有效。 | ||
public int exper = -1; // 【V2可选】试看时长,单位:秒。可选 | ||
public String us; // 【可选】唯一标识请求,增加链接唯一性 | ||
public String sign; // 【可选】防盗链签名 | ||
|
||
@Override | ||
public String toString() { | ||
return "SuperPlayerVideoId{" + | ||
", fileId='" + fileId + '\'' + | ||
", timeout='" + timeout + '\'' + | ||
", exper=" + exper + | ||
", us='" + us + '\'' + | ||
", sign='" + sign + '\'' + | ||
'}'; | ||
} | ||
} |
Oops, something went wrong.