8000 Add a method to check if speakerphone is enabled or not by moham96 · Pull Request #1217 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content

Add a method to check if speakerphone is enabled or not #1217

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moham96
Copy link
@moham96 moham96 commented Jan 2, 2023

No description provided.

/// Check if speakerPhone is enabled or not for Flutter native.
/// for iOS/Android only
static Future<bool> isSpeakerPhoneEnabled() async {
return WebRTC.invokeMethod('isSpeakerPhoneEnabled').then((value) => value);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that implementation is only for Android. What about for iOS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0