@@ -110,13 +110,14 @@ const init = () => {
110
110
player = new EZUIKitPlayer ({
111
111
id: " video-container" , // 视频容器ID
112
112
accessToken:
113
- " at.d525oyj8d7bwohb40ssn3266cfq2mwi2-8hgpypehn9-1fafaty-ea2fxbc1 " ,
114
- url: " ezopen://open.ys7.com/BC7799091 /1.hd.live" ,
113
+ " at.2s5bel782emtho68ae31snumc1wuuioa-3d531vj77f-0gtnx7g-fddkee44 " ,
114
+ url: " ezopen://open.ys7.com/GBSUB:ELRHKIQI7O5C /1.hd.live" ,
115
115
// simple: 极简版; pcLive: pc直播; pcRec: pc回放; mobileLive: 移动端直播; mobileRec: 移动端回放;security: 安防版; voice: 语音版;
116
116
template: " pcLive" ,
117
117
plugin: [" talk" ], // 加载插件,talk-对讲
118
118
width: 600 ,
119
119
height: 400 ,
120
+ // quality: 1, //
120
121
// language: "en", // zh | en
121
122
handleError : (err : any ) => {
122
123
console .error (" handleError" , err );
@@ -153,8 +154,8 @@ const init = () => {
153
154
// v8.1.10
154
155
// 自定义清晰度 默认 null, 如果有值 sdk 内部不在进行获取, null 默认使用接口获取的清晰度列表, videoLevelList.length === 0 不展示清晰度控件 sdk 内部不在进行获取, videoLevelList.length > 0 展示控件 sdk 内部不在进行获取
155
156
// videoLevelList: [
156
- // { level: 0 , name: "流畅 ", streamTypeIn: 2 },
157
- // { level: 1 , name: "标清 ", streamTypeIn: 1 },
157
+ // { level: 1 , name: "标清 ", streamTypeIn: 2 }, // 需要保证支持子码流 (streamTypeIn=2)
158
+ // { level: 2 , name: "高清 ", streamTypeIn: 1 },
158
159
// ],
159
160
});
160
161
0 commit comments