Unknown Error in AVPlayManager.setDrm()
By Vinh Nguyen
27 Aug 2018 21:46
English
1 Replies
Hi All,
My app on TV Samsung use Verimatrix Drm
This is code use setVerimatrix like this site : https://developer.samsung.com/tv/develop/api-references/samsung-product-api-references/avplay-api
TizenAVPlayer.setVerimarix = function () {
console.log(this.UID);
var drmParam = {
CompanyName: "Viettel",
IPTV: null,
Web: "27.67.49.248:80",
UID: this.UID,
};
try {
webapis.avplay.setDrm("VERIMATRIX", "Initialize", JSON.stringify(drmParam));
} catch (e) {
console.log(e);
}
};
This bug I receive
UID: YCLDEMjYuvL7UmAQyNPT2BjxOeA=
- ABORT_ERR: 20
- DATA_CLONE_ERR: 25
- DOMSTRING_SIZE_ERR: 2
- HIERARCHY_REQUEST_ERR: 3
- INDEX_SIZE_ERR: 1
- INUSE_ATTRIBUTE_ERR: 10
- INVALID_ACCESS_ERR: 15
- INVALID_CHARACTER_ERR: 5
- INVALID_MODIFICATION_ERR: 13
- INVALID_NODE_TYPE_ERR: 24
- INVALID_STATE_ERR: 11
- NAMESPACE_ERR: 14
- NETWORK_ERR: 19
- NOT_FOUND_ERR: 8
- NOT_SUPPORTED_ERR: 9
- NO_DATA_ALLOWED_ERR: 6
- NO_MODIFICATION_ALLOWED_ERR: 7
- QUOTA_EXCEEDED_ERR: 22
- SECURITY_ERR: 18
- SYNTAX_ERR: 12
- TIMEOUT_ERR: 23
- TYPE_MISMATCH_ERR: 17
- URL_MISMATCH_ERR: 21
- VALIDATION_ERR: 16
- WRONG_DOCUMENT_ERR: 4
- code: 0
- line: 66
- message: "Unknown Error in AVPlayManager.setDrm()."
- name: "UnknownError"
- sourceURL: "file:///opt/usr/apps/TkjGBIGKqz/res/wgt/js/videoplayer/TizenAVPlayer.js"
- stack: "setDrm@[native code]↵setVerimarixfile:///opt/usr/apps/TkjGBIGKqz/res/wgt/js/videoplayer/TizenAVPlayer.js:66:28↵playVideofile:///opt/usr/apps/TkjGBIGKqz/res/wgt/js/videoplayer/TizenAVPlayer.js:108:35↵file:///opt/usr/apps/TkjGBIGKqz/res/wgt/js/videoplayer/controllers/avplayerController.js:152:40"
- type: "UnknownError"
- __proto__: CallbackObject
Has anyone had this error and how to solve it ?
Thank.
Edited by: Vinh Nguyen on 28 Aug, 2018
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------