PlayParameter.java
1.05 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
38
39
40
41
42
43
44
45
46
47
48
49
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";
private static final String PLAY_PARAM_VID_DEFAULT = "9fb028c29acb421cb634c77cf4ebe078";
/**
* vid, 初始为: 9fb028c29acb421cb634c77cf4ebe078
*/
public static String PLAY_PARAM_VID = "";
public static String PLAY_PARAM_REGION = "cn-shanghai";
/**
* akId
*/
public static String PLAY_PARAM_AK_ID = "";
/**
* akSecre
*/
public static String PLAY_PARAM_AK_SECRE = "";
/**
* scuToken
*/
public static String PLAY_PARAM_SCU_TOKEN = "";
/**
* url类型的播放地址, 初始为:http://player.alicdn.com/video/aliyunmedia.mp4
*/
public static String PLAY_PARAM_URL =
"http://player.alicdn.com/video/aliyunmedia.mp4";
}