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

[__NSSingleEntryDictionaryI length]: unrecognized selector sent to instance 0x281de6360 ?? #143

Open
bhoomesh950 opened this issue Dec 5, 2018 · 0 comments

Comments

@bhoomesh950
Copy link

+ (NSDictionary *)dictionaryWithJSONString:(NSString *)jsonString { NSParameterAssert(jsonString.length > 0); NSData *data = [jsonString dataUsingEncoding:NSUTF8StringEncoding]; NSError *error = nil; NSDictionary *dict = [NSJSONSerialization JSONObjectWithData:data options:0 error:&error]; if (error) { NSLog(@"Error parsing JSON: %@", error.localizedDescription); } return dict; }
Printing description of jsonString:
{
"{"type":"offer","sdp":"v" = "0\r\no=- 1422369165883867956 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:gjtPeCzKp2sH71Up\r\na=ice-pwd:FBQKDP6erBMkRr9yXZtzwum5\r\na=fingerprint:sha-256 FA:74:DF:85:15:11:71:DA:60:9C:6D:61:AF:31:35:9D:1A:49:F8:6A:81:64:86:DC:8F:23:44:8A:8D:C4:0E:FE\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:3467745781 cname:nLI l9g0p5WZuYh0\r\na=ssrc:3467745781 msid:ARDAMS ARDAMSa0\r\na=ssrc:3467745781 mslabel:ARDAMS\r\na=ssrc:3467745781 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:gjtPeCzKp2sH71Up\r\na=ice-pwd:FBQKDP6erBMkRr9yXZtzwum5\r\na=fingerprint:sha-256 FA:74:DF:85:15:11:71:DA:60:9C:6D:61:AF:31:35:9D:1A:49:F8:6A:81:64:86:DC:8F:23:44:8A:8D:C4:0E:FE\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 1931635208 1598797712\r\na=ssrc:1931635208 cname:nLI l9g0p5WZuYh0\r\na=ssrc:1931635208 msid:ARDAMS ARDAMSv0\r\na=ssrc:1931635208 mslabel:ARDAMS\r\na=ssrc:1931635208 label:ARDAMSv0\r\na=ssrc:1598797712 cname:nLI l9g0p5WZuYh0\r\na=ssrc:1598797712 msid:ARDAMS ARDAMSv0\r\na=ssrc:1598797712 mslabel:ARDAMS\r\na=ssrc:1598797712 label:ARDAMSv0\r\n"}";
}

connection iphone to iphone problem

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

No branches or pull requests

1 participant