|
@@ -409,7 +409,7 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
// add by ak 取 nsl token
|
|
// add by ak 取 nsl token
|
|
BFRecordScreenViewModel.getNlsAccessToken {[weak self] token, appkey in
|
|
BFRecordScreenViewModel.getNlsAccessToken {[weak self] token, appkey in
|
|
BFLog(message: "nls appkey is \(appkey), token is \(token)")
|
|
BFLog(message: "nls appkey is \(appkey), token is \(token)")
|
|
-// self?.speechTranscriberUtil = PQSpeechTranscriberUtil(token, appid: appkey)
|
|
|
|
|
|
+ self?.speechTranscriberUtil = PQSpeechTranscriberUtil(token, appid: appkey)
|
|
}
|
|
}
|
|
|
|
|
|
view.backgroundColor = .black
|
|
view.backgroundColor = .black
|
|
@@ -1135,6 +1135,7 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
}
|
|
}
|
|
|
|
|
|
func fetchVideo() {
|
|
func fetchVideo() {
|
|
|
|
+
|
|
if assets.count > 0 {
|
|
if assets.count > 0 {
|
|
currItemModelIndex = 0
|
|
currItemModelIndex = 0
|
|
for (index, asset) in assets.enumerated() {
|
|
for (index, asset) in assets.enumerated() {
|
|
@@ -1145,7 +1146,7 @@ public class BFRecordScreenController: BFBaseViewController {
|
|
if index == 0 {
|
|
if index == 0 {
|
|
if asset.mediaType == .video {
|
|
if asset.mediaType == .video {
|
|
itemModel.fetchAVUrlAsset = { [weak self, weak itemModel] uralss in
|
|
itemModel.fetchAVUrlAsset = { [weak self, weak itemModel] uralss in
|
|
- self?.export(avsss:uralss)
|
|
|
|
|
|
+// self?.export(avsss:uralss)
|
|
DispatchQueue.main.async { [weak self] in
|
|
DispatchQueue.main.async { [weak self] in
|
|
self?.progressThumV.recordItem = itemModel
|
|
self?.progressThumV.recordItem = itemModel
|
|
self?.progressThumV.isHidden = false
|
|
self?.progressThumV.isHidden = false
|