Giter Club home page Giter Club logo

Comments (12)

GaelHLago avatar GaelHLago commented on June 23, 2024

Do you have any logs ?

Could you compile a Debug version of libWebRTC and paste logs ?

from apprtc-ios.

rakesh-ideal avatar rakesh-ideal commented on June 23, 2024

@Halftasoeur Thanks for reply,

Here is the dropbox link of log generated using (https://apprtc.appspot.com) server
https://www.dropbox.com/s/2m3pktkc36z3kwk/ISBXServer.rtf?dl=0

Here is the dropbox link of log generated using custom server
https://www.dropbox.com/s/que53a4b36yt9k0/OurServer.rtf?dl=0

from apprtc-ios.

GaelHLago avatar GaelHLago commented on June 23, 2024

When you use your custom server, it seems that you don't have SDP with type "answer", maybe you built your server to do so, if not, it could be that.
At the moment, your client sends its SDP waiting for an other, and your second client sends its SDP, waiting for an answer too. (unless your server provides it).

Try to build a debug libWebrtc check this repo : https://github.com/pristineio/webrtc-build-scripts
WebRTC will talk a lot, so you can find what's wrong

from apprtc-ios.

rakesh-ideal avatar rakesh-ideal commented on June 23, 2024

We found different response from the servers that's by we are getting issue :-
Please have a look this log file we highlighted differences by RED colour in log file,
https://www.dropbox.com/s/is3c4jprixpjtoc/Response.rtf?dl=0
In log file you can see using custom server we are getting different json format under "message" ?

from apprtc-ios.

alex5600 avatar alex5600 commented on June 23, 2024

Yes, I see the same issue. When connecting iPhone to iPhone the sdp offer message has invalid Json format. Connections between iPhone and browsers work perfectly.
Could you please point me where to look at?

from apprtc-ios.

pkIqm avatar pkIqm commented on June 23, 2024

@alex5600, @rakesh-ideal i am facing same problem. I am able to init call between android to android but Android to ios doesn't work. Did you find any solution?

from apprtc-ios.

ducnmisbk avatar ducnmisbk commented on June 23, 2024

I had same issue.

I've already setup rtc node server on local.
2 ios client (build from apprtc-ios)
Client 1 connect to localhost:3000 and create a room
(*) Log server:
Added client 84345253 in room 123456
User 84345253 joined room 123456
Room 123456 has state ["64076457","84345253"]
POST /join/123456 200 0.749 ms - 631

Client 2 connect to same room
(*) Log server:
Error adding client to room: FULL, room_state=undefined
POST /join/123456 200 0.680 ms - 63

how can i do with this problems?

from apprtc-ios.

daggarwal1 avatar daggarwal1 commented on June 23, 2024

I am facing invalid json issue while trying to set up call from iOS to iOS using our local server. Please guide me to resolve this issue.

from apprtc-ios.

kashifayyaz avatar kashifayyaz commented on June 23, 2024

I am wondering, we deployed https://github.com/ISBX/apprtc-node-server NODE SERVER not the python one, and its working fine once when run in browser, but when I connect android app downloaded from https://github.com/njovy/AppRTCDemo
it gives /RoomRTCClient: Room connection error: Non-200 response to POST to URL: https://***.com/r/myroom89 : HTTP/1.1 404 Not Found

app connects with RTC server ( as shown in logs of server POST /r/myroom89 404 72.171 ms - 1247) but response as above mentioned.

Is it the case we need to deploy Python based web-rtc server or this NODEJS server will facilitate this android app. please suggest.

from apprtc-ios.

memayank00 avatar memayank00 commented on June 23, 2024

i have created server for apprtc . i was able to call by andriod device but facing problem with ios device. any suggestion ?

from apprtc-ios.

GaelHLago avatar GaelHLago commented on June 23, 2024

Do you have logs or anything in order to help you ?

from apprtc-ios.

memayank00 avatar memayank00 commented on June 23, 2024

thanks to reply...
actually now i connected but video is not available . i am posting response of both apprtc server and my own server on room join . please identify this .

APPRTC

{"params": {"is_initiator": "false", "room_link": "https://appr.tc/r/1528811351768", "version_info": "{"gitHash": "20cdd7652d58c9cf47ef92ba0190a5505760dc05", "branch": "master", "time": "Fri Mar 9 17:06:42 2018 +0100"}", "messages": ["{"sdp":"v=0\r\no=- 2938311007364697283 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video data\r\na=msid-semantic: WMS ARDAMS\r\nm=audio 9 UDP\/TLS\/RTP\/SAVPF 111 103 9 102 0 8 105 13 110 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:RKgz\r\na=ice-pwd:wX9vLviOVOIv5pQrvKW4J6rX\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 FF:87:2F:BE:CD:10:7E:F0:90:26:F9:BA:1B:11:DF:0A:06:34:A3:5C:F5:21:65:9B:64:AB:EC:00:8A:B5:41:51\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus\/48000\/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC\/16000\r\na=rtpmap:9 G722\/8000\r\na=rtpmap:102 ILBC\/8000\r\na=rtpmap:0 PCMU\/8000\r\na=rtpmap:8 PCMA\/8000\r\na=rtpmap:105 CN\/16000\r\na=rtpmap:13 CN\/8000\r\na=rtpmap:110 telephone-event\/48000\r\na=rtpmap:113 telephone-event\/16000\r\na=rtpmap:126 telephone-event\/8000\r\na=ssrc:23771278 cname:VSGimIOYNToKwPBl\r\na=ssrc:23771278 msid:ARDAMS ARDAMSa0\r\na=ssrc:23771278 mslabel:ARDAMS\r\na=ssrc:23771278 label:ARDAMSa0\r\nm=video 9 UDP\/TLS\/RTP\/SAVPF 96 98 100 127 97 99 101\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:RKgz\r\na=ice-pwd:wX9vLviOVOIv5pQrvKW4J6rX\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 FF:87:2F:BE:CD:10:7E:F0:90:26:F9:BA:1B:11:DF:0A:06:34:A3:5C:F5:21:65:9B:64:AB:EC:00:8A:B5:41:51\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http:\/\/www.ietf.org\/id\/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/playout-delay\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8\/90000\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtpmap:98 VP9\/90000\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtpmap:100 red\/90000\r\na=rtpmap:127 ulpfec\/90000\r\na=rtpmap:97 rtx\/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:99 rtx\/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:101 rtx\/90000\r\na=fmtp:101 apt=100\r\na=ssrc-group:FID 933819390 1420517975\r\na=ssrc:933819390 cname:VSGimIOYNToKwPBl\r\na=ssrc:933819390 msid:ARDAMS ARDAMSv0\r\na=ssrc:933819390 mslabel:ARDAMS\r\na=ssrc:933819390 label:ARDAMSv0\r\na=ssrc:1420517975 cname:VSGimIOYNToKwPBl\r\na=ssrc:1420517975 msid:ARDAMS ARDAMSv0\r\na=ssrc:1420517975 mslabel:ARDAMS\r\na=ssrc:1420517975 label:ARDAMSv0\r\nm=application 9 DTLS\/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=ice-ufrag:RKgz\r\na=ice-pwd:wX9vLviOVOIv5pQrvKW4J6rX\r\na=ice-options:trickle renomination\r\na=fingerprint:sha-256 FF:87:2F:BE:CD:10:7E:F0:90:26:F9:BA:1B:11:DF:0A:06:34:A3:5C:F5:21:65:9B:64:AB:EC:00:8A:B5:41:51\r\na=setup:actpass\r\na=mid:data\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"offer"}", "{"type":"candidate","label":0,"id":"audio","candidate":"candidate:3468639857 1 udp 2122260223 10.1.146.37 42914 typ host generation 0 ufrag RKgz network-id 1 network-cost 900"}", "{"type":"candidate","label":0,"id":"audio","candidate":"candidate:842163049 1 udp 1686052607 47.30.42.18 42914 typ srflx raddr 10.1.146.37 rport 42914 generation 0 ufrag RKgz network-id 1 network-cost 900"}", "{"type":"candidate","label":0,"id":"audio","candidate":"candidate:4020914332 1 udp 41886207 64.233.188.87 28629 typ relay raddr 47.30.42.18 rport 42914 generation 0 ufrag RKgz network-id 1 network-cost 900"}", "{"type":"candidate","label":0,"id":"audio","candidate":"candidate:1534838101 1 udp 25108479 64.233.188.127 29196 typ relay raddr 47.30.42.18 rport 48461 generation 0 ufrag RKgz network-id 1 network-cost 900"}"], "error_messages": [], "client_id": "01578371", "ice_server_transports": "", "bypass_join_confirmation": "false", "wss_url": "wss://apprtc-ws.webrtc.org:443/ws", "media_constraints": "{"audio": true, "video": true}", "include_loopback_js": "", "is_loopback": "false", "offer_options": "{}", "pc_constraints": "{"optional": []}", "pc_config": "{"rtcpMuxPolicy": "require", "bundlePolicy": "max-bundle", "iceServers": []}", "wss_post_url": "https://apprtc-ws.webrtc.org:443", "ice_server_url": "https://networktraversal.googleapis.com/v1alpha/iceconfig?key=AIzaSyAJdh2HkajseEIltlZ3SIXO02Tze9sO3NY", "warning_messages": [], "room_id": "1528811351768", "include_rtstats_js": "<script src="/js/rtstats.js"></script><script src="/pako/pako.min.js"></script>"}, "result": "SUCCESS”}

My own server

{"result":"SUCCESS","params":{"error_messages":[],"is_loopback":"false","pc_config":"{"iceServers":[]}","pc_constraints":"{"optional":[]}","offer_constraints":"{"mandatory":{},"optional":[]}","media_constraints":"{"audio":true,"video":true}","turn_url":"https://computeengineondemand.appspot.com/turn?username=74126841&key=4080218913","include_loopback_js":"","wss_url":"wss://apprtc-ws.webrtc.org:443/ws","wss_post_url":"https://apprtc-ws.webrtc.org:443","bypass_join_confirmation":"false","room_id":"1528811667203","room_link":"http://thevipgroup.com:8080/r/1528811667203?","client_id":"74126841","is_initiator":"false","messages":[{"{\"type\":\"offer\",\"sdp\":\"v":"0\\r\\no=- 4164277365806648117 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS ARDAMS\r\nm=audio 9 UDP\/TLS\/RTP\/SAVPF 111 103 104 9 102 0 8 106 105 13 127 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:NlkGUB\/Oap8z1BIS\r\na=ice-pwd:oR3MHZ0KYoSvM2zalheq3t2u\r\na=fingerprint:sha-256 C6:E0:55:CE:09:F7:54:68:CD:92:89:16:AE:3D:91:A5:B5:CF:9C:6A:41:C9:AE:09:CC:5D:AB:AE:75:46:00:C7\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:3 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/abs-send-time\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus\/48000\/2\r\na=fmtp:111 minptime=10; useinbandfec=1\r\na=rtpmap:103 ISAC\/16000\r\na=rtpmap:104 ISAC\/32000\r\na=rtpmap:9 G722\/8000\r\na=rtpmap:102 ILBC\/8000\r\na=rtpmap:0 PCMU\/8000\r\na=rtpmap:8 PCMA\/8000\r\na=rtpmap:106 CN\/32000\r\na=rtpmap:105 CN\/16000\r\na=rtpmap:13 CN\/8000\r\na=rtpmap:127 red\/8000\r\na=rtpmap:126 telephone-event\/8000\r\na=maxptime:60\r\na=ssrc:2248739332 cname:v7ECGqNl4rZY\/aPR\r\na=ssrc:2248739332 msid:ARDAMS ARDAMSa0\r\na=ssrc:2248739332 mslabel:ARDAMS\r\na=ssrc:2248739332 label:ARDAMSa0\r\nm=video 9 UDP\/TLS\/RTP\/SAVPF 100 101 116 117 96\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:NlkGUB\/Oap8z1BIS\r\na=ice-pwd:oR3MHZ0KYoSvM2zalheq3t2u\r\na=fingerprint:sha-256 C6:E0:55:CE:09:F7:54:68:CD:92:89:16:AE:3D:91:A5:B5:CF:9C:6A:41:C9:AE:09:CC:5D:AB:AE:75:46:00:C7\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http:\/\/www.webrtc.org\/experiments\/rtp-hdrext\/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:100 VP8\/90000\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtpmap:101 VP9\/90000\r\na=rtcp-fb:101 ccm fir\r\na=rtcp-fb:101 nack\r\na=rtcp-fb:101 nack pli\r\na=rtcp-fb:101 goog-remb\r\na=rtcp-fb:101 transport-cc\r\na=rtpmap:116 red\/90000\r\na=rtpmap:117 ulpfec\/90000\r\na=rtpmap:96 rtx\/90000\r\na=fmtp:96 apt=100\r\na=ssrc-group:FID 2888701272 3725493769\r\na=ssrc:2888701272 cname:v7ECGqNl4rZY\/aPR\r\na=ssrc:2888701272 msid:ARDAMS ARDAMSv0\r\na=ssrc:2888701272 mslabel:ARDAMS\r\na=ssrc:2888701272 label:ARDAMSv0\r\na=ssrc:3725493769 cname:v7ECGqNl4rZY\/aPR\r\na=ssrc:3725493769 msid:ARDAMS ARDAMSv0\r\na=ssrc:3725493769 mslabel:ARDAMS\r\na=ssrc:3725493769 label:ARDAMSv0\r\n"}"},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:2143515791 2 udp 2122260222 10.0.0.21 59421 typ host generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:826312831 1 tcp 1518280447 10.0.0.21 50861 typ host tcptype passive generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:826312831 2 tcp 1518280446 10.0.0.21 50868 typ host tcptype passive generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:2143515791 1 udp 2122260223 10.0.0.21 59289 typ host generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:826312831 1 tcp 1518280447 10.0.0.21 50869 typ host tcptype passive generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:2143515791 2 udp 2122260222 10.0.0.21 52448 typ host generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:2143515791 1 udp 2122260223 10.0.0.21 61604 typ host generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:826312831 2 tcp 1518280446 10.0.0.21 50870 typ host tcptype passive generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:1028557319 2 udp 1686052606 203.123.36.86 52448 typ srflx raddr 10.0.0.21 rport 52448 generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:1028557319 1 udp 1686052607 203.123.36.86 61604 typ srflx raddr 10.0.0.21 rport 61604 generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 0,\n "id" : "audio",\n "candidate" : "candidate:1028557319 1 udp 1686052607 203.123.36.86 59289 typ srflx raddr 10.0.0.21 rport 59289 generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""},{"{\n "label" : 1,\n "id" : "video",\n "candidate" : "candidate:1028557319 2 udp 1686052606 203.123.36.86 59421 typ srflx raddr 10.0.0.21 rport 59421 generation 0 ufrag NlkGUB\/Oap8z1BIS",\n "type" : "candidate"\n}":""}]}}

from apprtc-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.