Skip to content
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

WebRTC in iOS 14.3 is not working #627

Closed
5 tasks done
Faiizii opened this issue Dec 21, 2020 · 2 comments
Closed
5 tasks done

WebRTC in iOS 14.3 is not working #627

Faiizii opened this issue Dec 21, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Faiizii
Copy link

Faiizii commented Dec 21, 2020

Environment

Technology Version
Flutter version 1.22.5 stable channel
Plugin version 4.0.0+4
Android version
iOS version 14.3
Xcode version 12.3

Device information:

Description

Expected behavior:
Create the call as it is doing in https://webrtc.github.io/test-pages/src/iframe-apprtc/ and the app is perfectly working in android as expected.
Current behavior:
But the web view is saying the unable to get access of user media and unable to create RTC peer connection.

Steps to reproduce

InAppWebView( 
                initialUrl: callUrl,
                initialOptions: InAppWebViewGroupOptions(
                  crossPlatform: InAppWebViewOptions(
                      mediaPlaybackRequiresUserGesture: false,
                      debuggingEnabled: true,
                      clearCache: true,
                      javaScriptEnabled: true,
                      preferredContentMode: UserPreferredContentMode.MOBILE
                  ),
                ),
                onWebViewCreated: (InAppWebViewController controller) {
                  //web view created
                },
                androidOnPermissionRequest: (InAppWebViewController controller, String origin, List<String> resources) async {
                  print('resource list : ${resources.toString()}'); // allready allowed the camera and microphone permission
                  return PermissionRequestResponse(resources: resources, action: PermissionRequestResponseAction.GRANT);
                }
            )
@Faiizii Faiizii added the bug Something isn't working label Dec 21, 2020
@pichillilorenzo
Copy link
Owner

Please see my comment here on how to setup WebRTC on iOS 14.3+ #200 (comment)

Copy link

github-actions bot commented Nov 8, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants