PlayParameter.java
1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.wd.player.constant;
/**
* 播放参数, 包含:
* vid, vidSts, akId, akSecre, scuToken
*
* @author lvjinhui
*/
public class PlayParameter {
/**
* type, 用于区分播放类型, 默认为vidsts播放
* vidsts: vid类型
* localSource: url类型
*/
public static String PLAY_PARAM_TYPE = "vidsts";
/**
* url类型的播放地址
* http://player.alicdn.com/video/aliyunmedia.mp4
* https://cdnout.aikan.pdnews.cn/5a91/vod/content/output/2023022809/eb23ad2d9ed040538fd197c2906c26dd_540.mp4
* http://vfx.mtime.cn/Video/2019/06/29/mp4/190629004821240734.mp4
* https://cdnout.aikan.pdnews.cn/f44f/vod/content/output/2023022720/ea78101b9e36454f8b91fd81ec31b0da_1080.mp4
* https://cdnout.aikan.pdnews.cn/777c/vod/content/output/2023022813/6e1de8cfa0de43d187ca98f595fc1dd3_1080.mp4
*/
public static String PLAY_PARAM_URL_VIDEO =
"http://vfx.mtime.cn/Video/2019/06/29/mp4/190629004821240734.mp4";
public static String PLAY_PARAM_URL_LIVE =
"https://gcalic.v.myalicdn.com/gc/zsslsjjfsd_1/index.m3u8?contentid=2820180516001";
public static String PLAY_PARAM_LIVE_ID = "20000000092";
}