FreeStreamer icon indicating copy to clipboard operation
FreeStreamer copied to clipboard

When is swift 4 fitting

Open zhj1214 opened this issue 8 years ago • 4 comments

Problems in the swift project

zhj1214 avatar Nov 07 '17 09:11 zhj1214

What is needed for the Swift 4 support? I am open for the possibility if someone wants to help in this area.

muhku avatar Nov 07 '17 17:11 muhku

I found the swift version FSAudioStream private implementation the file 331 line kReachabilityChangedNotification This property crashes.[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(reachabilityChanged:) name:@"kReachabilityChangedNotification" object:nil]; This approach is feasible

zhj1214 avatar Nov 08 '17 02:11 zhj1214

One more question AVAudioSession *session = [AVAudioSession sharedInstance]; [session setCategory:AVAudioSessionCategoryPlayback error:error]; [session setActive:YES error:error]; Can't resume playing after being interrupted by other player

zhj1214 avatar Nov 13 '17 09:11 zhj1214

same problems in IOS 9.3.5 I called "pause" in lockscreen and then "Play" "onStateChange" log event :

onStateChange: fsAudioStreamPlaying error Network failed: cannot play the audio stream: Optional("The operation couldn’t be completed. Socket is not connected") onStateChange: fsAudioStreamFailed

someting wrong? sorry my english.

khicon9 avatar Nov 14 '17 04:11 khicon9