2222
This commit is contained in:
@@ -888,15 +888,20 @@ export default {
|
|||||||
if(this.$platform=='ios'){
|
if(this.$platform=='ios'){
|
||||||
//标准加密
|
//标准加密
|
||||||
playerOptions = {
|
playerOptions = {
|
||||||
...playerOptions,
|
|
||||||
"playauth": this.videoData.playAuth, // 必选参数,参数值可通过调用GetVideoPlayAuth接口获取。
|
|
||||||
format:'m3u8',
|
...playerOptions,
|
||||||
// "encryptType": 1, // 必选参数,当播放私有加密流时需要设置本参数值为1。其它情况无需设置。
|
source: this.videoData.m3u8Url
|
||||||
"playConfig": {
|
// ...playerOptions,
|
||||||
"EncryptType": 'HLSEncryption',
|
// source: this.videoData.m3u8Url,
|
||||||
"MtsHlsUriToken": this.videoData.mtsHlsUriToken,
|
// "playauth": this.videoData.playAuth, // 必选参数,参数值可通过调用GetVideoPlayAuth接口获取。
|
||||||
|
// format:'m3u8',
|
||||||
|
// // "encryptType": 1, // 必选参数,当播放私有加密流时需要设置本参数值为1。其它情况无需设置。
|
||||||
|
// "playConfig": {
|
||||||
|
// "EncryptType": 'HLSEncryption',
|
||||||
|
// "MtsHlsUriToken": this.videoData.mtsHlsUriToken,
|
||||||
|
|
||||||
},
|
// },
|
||||||
|
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user