-
-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio IOS native #602
Comments
same here, @robsonvasquez did you find solution for this? |
I have the same problem 👋 |
Hi! I solved my issue by switching to the fixed WebRTC version 7.0.1, as with other versions, the audio would either play only on the recipient’s end or only on the caller’s end, depending on the WebRTC version. Here’s an example of how the delegate turned out: import UIKit @UIApplicationMain
} Unfortunately, I'm having an audio issue on iOS when making a call from the app to someone. The audio doesn’t work on iOS, and the device’s microphone doesn’t open. This call is made with the app open through Flutter. If anyone manages to resolve this, please let me know. |
I’m using WebRTC and flutter_callkit_incoming. When I make a call and answer through iOS's native interface, the audio doesn’t play on the iPhone, but it does for the recipient. It was working perfectly on iOS before 10/20/2024 with the latest versions of both libraries, but then the audio just stopped working on iOS when using CallKit to answer. Switching WebRTC versions sometimes makes the audio work on iOS but not for the recipient, and other versions have the opposite effect. Is anyone else experiencing audio issues with both libraries when answering through iOS's native interface?
Delegate
import UIKit
import Flutter
import awesome_notifications
//import shared_preferences_ios
import shared_preferences_foundation
import CallKit
import AVFAudio
import PushKit
import flutter_callkit_incoming
import WebRTC
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate, PKPushRegistryDelegate, CallkitIncomingAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
}
// Call back from Recent history
override func application(_ application: UIApplication,
continue userActivity: NSUserActivity,
restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
}
}
}
The text was updated successfully, but these errors were encountered: