-
Notifications
You must be signed in to change notification settings - Fork 36
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
carolsuo
committed
Apr 17, 2020
1 parent
a64687d
commit 237f323
Showing
151 changed files
with
6,278 additions
and
5,789 deletions.
There are no files selected for viewing
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
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
59 changes: 29 additions & 30 deletions
59
Demo/libsuperplayer/src/main/java/com/tencent/liteav/demo/play/SuperPlayerModel.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
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
19 changes: 19 additions & 0 deletions
19
Demo/libsuperplayer/src/main/java/com/tencent/liteav/demo/play/SuperPlayerVideoId.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,19 @@ | ||
package com.tencent.liteav.demo.play; | ||
|
||
|
||
/** | ||
* Created by hans on 2019/3/25. | ||
* 使用腾讯云fileId播放 | ||
*/ | ||
public class SuperPlayerVideoId { | ||
public String fileId; // 腾讯云视频fileId | ||
public String pSign; // v4 开启防盗链必填 | ||
|
||
@Override | ||
public String toString() { | ||
return "SuperPlayerVideoId{" + | ||
", fileId='" + fileId + '\'' + | ||
", pSign='" + pSign + '\'' + | ||
'}'; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
Demo/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.