Tim

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Is WebRTC supported? #11697
    Tim
    Participant

    Thanks, I have it working with Xcode / Swift… just still can’t get it working with your plugin…. any ideas?

    I run the following on launch to get Mic permission….

    IEnumerator Start()
    {

    findMicrophones();

    yield return Application.RequestUserAuthorization(UserAuthorization.Microphone);
    if (Application.HasUserAuthorization(UserAuthorization.Microphone))
    {
    Debug.Log(“Microphone found”);
    }
    else
    {
    Debug.Log(“Microphone not found”);
    }
    }

    void findMicrophones()
    {
    foreach (var device in Microphone.devices)
    {
    Debug.Log(“Name: ” + device);
    }
    }

    Then your test script

    public string pageToOpen = “https://www.google.com”;

    // check readme file to find out how to change title, colors etc.
    public void OnButtonClicked() {
    InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
    options.displayURLAsPageTitle = false;
    options.pageTitle = “InAppBrowser example”;

    InAppBrowser.OpenURL(pageToOpen, options);

    }

    public void OnClearCacheClicked() {
    InAppBrowser.ClearCache();
    }

    in reply to: Is WebRTC supported? #11695
    Tim
    Participant

    Any update on this one? Is WEBRTC supported? I’d like to get mic access for the browser. I have it for the IOS app, but when the browser is open, the web page in the browser doesn’t have access to the mic (nor does it request permission).

    Any ideas?

    If using chrome or safari, the permission is requested as expected on the web url.

    The following my C sharp code on first launch which prompts the permission request and grants access:

    Thanks,
    Tim

    in reply to: WEBGL #1512
    Tim
    Participant

    Sorry, I meant does your inapp browser work for Unity WebGl builds.
    In other words, can I link to websites within the WebGL version of my app?

Viewing 3 posts - 1 through 3 (of 3 total)