Post

Replies

Boosts

Views

Activity

AVAudioSession.setActive will get NSOSStatusErrorDomain -50
When I run the following code, I occasionally get a -50 error swift do {     try session.setActive(true, options: .notifyOthersOnDeactivation) } catch {     let ferror = NSError(domain: "set active error", code: (error as NSError).code, userInfo: ["error": error]) print(error) } Now because of the source code, I cannot trace it further, so I want to know what causes this error? Thank you!!!
0
0
682
Apr ’21
AVPlayer play NSLocalizedFailureReason -16155
Hi~ Some users online may experience the following error while playing a local resource error Error Domain=AVFoundationErrorDomain Code=-11800 "This operation cannot be completed" UserInfo={NSLocalizedFailureReason=Unknown error occurred(-16155), NSLocalizedDescription=This operation cannot be completed, NSUnderlyingError=0x283d598f0 {Error Domain=NSOSStatusErrorDomain Code=-16155 "(null)"}} Can I get more information for this error? And how can I fix it?
1
1
633
Dec ’21