|
@@ -72,7 +72,9 @@ class INIntroduceController: BFBaseViewController {
|
|
|
}
|
|
|
recordScreenVC.recordRndHandle = {model in
|
|
|
// 录音完成时上报
|
|
|
- BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_speekButton, pageSource: .sp_speekPage,extParams: ["duration":Int((Double(model?.duration ?? "0") ?? 0) * 1000)],commonParams: commonParams())
|
|
|
+ let assert = AVURLAsset(url: URL(fileURLWithPath:model?.wavFilePath ?? ""))
|
|
|
+
|
|
|
+ BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_speekButton, pageSource: .sp_speekPage,extParams: ["duration":Int((assert.duration.seconds) * 1000)],commonParams: commonParams())
|
|
|
}
|
|
|
recordScreenVC.subTitleBtnClickHandle = { isOn in
|
|
|
// 点击字幕按钮上报
|