muaz-khan / RTCMultiConnection

RTCMultiConnection is a WebRTC JavaScript library for peer-to-peer applications (screen sharing, audio/video conferencing, file sharing, media streaming etc.)
https://muazkhan.com:9001/
MIT License
2.57k stars 1.37k forks source link

android app display "Request was denied for securitys" #398

Open MichaelWilliams8844 opened 7 years ago

MichaelWilliams8844 commented 7 years ago

Hi Mr. Khan, "Audio-Conferencing demo" (https://rtcmulticonnection.herokuapp.com/demos/Audio-Conferencing.html) platforms\android\assets\www\js\index.js,"onDeviceReady: function()",update "connection.socketURL = 'https://rtcmulticonnection.herokuapp.com:443/'" to "connection.socketURL = 'https://www.kiover.com:9001/'",android app display "Request was denied for securitys",why?

MichaelWilliams8844 commented 7 years ago

111

https://www.kiover.com:9001/” is my running server .

ghost commented 7 years ago

I have the same issue -

muaz-khan commented 7 years ago

Assuming that you're using latest audio or video conferencing demos?

Please update your config.xml with following items (do not replace, only update entries if missing):

<?xml version='1.0' encoding='utf-8'?>
<widget>
    <access origin="*" subdomains="true" uri="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <allow-navigation href="https://*/*" />
    <platform name="android">
        <allow-intent href="market:*" />
        <allow-navigation href="https://domain.com:9001/*" />
        <allow-intent href="https://domain.com:9001/*" />
        <access origin="https://domain.com:9001" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    </platform>
</widget>
MichaelWilliams8844 commented 7 years ago

Mr. Khan, Thank you for your help, I am using latest audio conferencing demos , http://webrtcweb.com/cordova-apps/audio-conferencing/ (updated on April 21, 2017)。

As you suggest,I update my android config.xml。 error

but android app still display "Request was denied for securitys" default

Remark,Web Server source from https://github.com/muaz-khan/RTCMultiConnection/blob/master/docs/installation-guide.md

taoboy commented 7 years ago

I have the same issue too

luonadelee commented 7 years ago

I have the same issue too

QiQi57 commented 7 years ago

@MichaelWilliams8844 hi, I have the same issue and have you solved this problem?

ghost commented 7 years ago

yep!

On Sun, Sep 24, 2017 at 11:40 PM, qi notifications@github.com wrote:

@MichaelWilliams8844 https://github.com/michaelwilliams8844 hi, I have the same issue and have you solved this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/muaz-khan/RTCMultiConnection/issues/398#issuecomment-331790053, or mute the thread https://github.com/notifications/unsubscribe-auth/AHRrO6rGdDWe1kjFNyqagZfU-zDXPFhMks5sl0rGgaJpZM4NXajO .

-- Gautam Sharma c.310.567.6686 f.310.982.1027 management@sugardaddyforme.com

ghost commented 7 years ago

Yep

On Sun, Sep 24, 2017 at 11:40 PM, qi notifications@github.com wrote:

@MichaelWilliams8844 https://github.com/michaelwilliams8844 hi, I have the same issue and have you solved this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/muaz-khan/RTCMultiConnection/issues/398#issuecomment-331790053, or mute the thread https://github.com/notifications/unsubscribe-auth/AHRrO6rGdDWe1kjFNyqagZfU-zDXPFhMks5sl0rGgaJpZM4NXajO .

-- Gautam Sharma c.310.567.6686 f.310.982.1027 management@sugardaddyforme.com

amalinaaziz commented 7 years ago

how did you solve the issue?