We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let documentsDir = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).last qnPlayer = QPlayerView.init(frame: CGRect(x: 0, y: 0, width: videoView.width, height: videoView.height), appVersion: "", localStorageDir: documentsDir!, logLevel: .LOG_VERBOSE) self.videoView.addSubview(qnPlayer!) qnPlayer!.controlHandler.forceAuthenticationFromNetwork() let qMediaModel = QMediaModel.init(false) qMediaModel.addStreamElements("", urlType: QPlayerURLType.QURL_TYPE_NONE, url: "http://demo-videos.qnsdk.com/qiniu-720p.mp4", quality: 720, isSelected: true, backupUrl: "", referer: "", renderType: QPlayerRenderType.QPLAYER_RENDER_TYPE_PLANE )
// qMediaModel.isLive = false self.qnPlayer!.controlHandler.playMediaModel(pmediaModel: qMediaModel, startPos: 0)
代码是这样写的,videoView一直没有反应,看不太懂oc代码,望大佬指点下
The text was updated successfully, but these errors were encountered:
你好,鉴权成功了么?bundleID 是否获得了基础播放的权利
Sorry, something went wrong.
No branches or pull requests
// qMediaModel.isLive = false
self.qnPlayer!.controlHandler.playMediaModel(pmediaModel: qMediaModel, startPos: 0)
代码是这样写的,videoView一直没有反应,看不太懂oc代码,望大佬指点下
The text was updated successfully, but these errors were encountered: