Skip to content

Commit e92cfa2

Browse files
author
zhaoyongqiang
committed
fix mpk拉流报-4的问题
1 parent 703600f commit e92cfa2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

iOS/APIExample/APIExample/Examples/Advanced/FusionCDN/FusionCDN.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,7 @@ class FusionCDNAudience: BaseViewController {
370370
rtcSwitcher.isEnabled = false
371371
let mediaSource = AgoraMediaSource()
372372
mediaSource.url = streamingUrl
373-
let ret = mediaPlayerKit.open(with: mediaSource)
374-
print(ret)
373+
mediaPlayerKit.open(streamingUrl, startPos: 0)
375374
}
376375
else {
377376
streamingUrl = channelName

0 commit comments

Comments
 (0)