[jitsi-dev] iOS webrtc


#1

Hello,

I have reorganized the flow to match Phillipp's input. There were confusing parts, things that did not seem to match up with java versions. there is no call back for create answer, however it causes local sdp to be created and that has a callback so i continue processing from there.

//You get the session-initiate.
//You translate that into an SDP and do a SRD with type=offer
//You get a SRD success callback. You call createAnswer.
//You get a createAnswer callback with an sessiondescription whose type=answer
//You do a SLD with the answer.
//When you get the success callback, you transform the SDP to jingle and send it to the bridge/focus as session-accept.

I now have logic doing the following

Receive Jingle Session-initiate
  (ack it)

INIT peerconnection and supporting objects

translate session-initiate to sdp
  create remote session description from sdp string with type - offer

  CALLBACK - didSetSessionDescriptionWithError
    if i have remote session description and no local description
      call CreateAnswer
   CALLBACK - didCreateSessionDescription
    set localDescription in peerconnection
  CALLBACK - didSetSessionDescriptionWithError
    Now i have both remote and local descriptions so i
    just BUILD jingle session-accept from local description. --- THIS IS WHAT I AM PREPARING NOW.

  Will failing to send the session-accept cause the session to fall apart like i am seeing? I am trying to get this completed right now.

  From the logs, it looks like it is close.
  
2014-11-11 11:34:43.549 AppRTCDemo[274:14357] SDP SO FAR IS v=0
o=- 9135848008193788882 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
m=audio 1 RTP/SAVPF 111 103 104 0 8 106 105 13 126
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5038 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5038 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5038 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5039 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5039 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5039 typ host
a=ice-ufrag:5n8k8
a=ice-pwd:67t7bc5hhumcffm1c850hvo1dj
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10
a=rtpmap:103 ISAC/16000
a=rtpmap:104 ISAC/32000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:126 telephone-event/8000
a=ssrc:19747849 cname:DPJqWNf5sLHQweV5
a=ssrc:19747849 msid:MqpWNZb0hAtouEypsKzdT8Q5Qw8pKy4XQcsF 620b4ef9-b50e-4fa4-a0f9-79e9d36a4980
a=ssrc:19747849 mslabel:MqpWNZb0hAtouEypsKzdT8Q5Qw8pKy4XQcsF
a=ssrc:19747849 label:620b4ef9-b50e-4fa4-a0f9-79e9d36a4980
a=ssrc:3735928559 cname:mixed
a=ssrc:3735928559 label:mixedlabelv0
a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
a=ssrc:3735928559 mslabel:mixedmslabel
a=fingerprint:sha-1 39:A2:69:8E:84:13:4F:F1:C2:E8:4E:84:41:BD:98:00:E6:D7:38:B4
m=video 1 RTP/SAVPF 100 116 117
a=candidate:1 1 udp 2130706431 2002:902:37b8:0:0:0:902:37b8 5042 typ host
a=candidate:2 1 udp 2130706431 9.2.55.184 5042 typ host
a=candidate:3 1 udp 2113937151 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5042 typ host
a=candidate:1 2 udp 2130706430 2002:902:37b8:0:0:0:902:37b8 5043 typ host
a=candidate:2 2 udp 2130706430 9.2.55.184 5043 typ host
a=candidate:3 2 udp 2113937150 fe80:0:0:0:e0e1:bee7:27dd:a0a1 5043 typ host
a=ice-ufrag:63gqm
a=ice-pwd:2vhv2qkf865aekmkiqabo0trfv
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=ssrc:2556733387 cname:zJFMU07ydl9fUEan
a=ssrc:2556733387 msid:YSQuOSH5aJFJUN6TfhU9O7Hvchs3NpZ7lOza d162970b-02bf-4686-a0ea-e896a3842e19
a=ssrc:2556733387 mslabel:YSQuOSH5aJFJUN6TfhU9O7Hvchs3NpZ7lOza
a=ssrc:2556733387 label:d162970b-02bf-4686-a0ea-e896a3842e19
a=ssrc:3735928559 cname:mixed
a=ssrc:3735928559 label:mixedlabelv0
a=ssrc:3735928559 msid:mixedmslabel mixedlabelv0
a=ssrc:3735928559 mslabel:mixedmslabel
a=fingerprint:sha-1 5C:30:9A:05:0B:C9:61:4C:28:22:73:76:82:94:50:ED:C4:39:4B:FE
2014-11-11 11:34:43.562 AppRTCDemo[274:14357] SEND: <presence type="unavailable"><x xmlns="vcard-temp:x:update"><photo/></x></presence>
2014-11-11 11:34:43.584 AppRTCDemo[274:14357] ---------- xmppStreamDidDisconnect: ----------
2014-11-11 11:34:43.589 AppRTCDemo[274:14357] UITableView has 2 rows
2014-11-11 11:34:43.622 AppRTCDemo[274:14357] sid oqvvi2ncvdxc
2014-11-11 11:34:43.623 AppRTCDemo[274:14357] s_id 28:sendIQ
2014-11-11 11:34:43.623 AppRTCDemo[274:14357] s_to peterios@ibm903-r87y4km/f73c3e7d
2014-11-11 11:34:43.624 AppRTCDemo[274:14357] s_from myroom@conference.ibm903-r87y4km/3fdffb81
2014-11-11 11:34:44.404 AppRTCDemo[274:14357] *** HERE in acceptConnection - received Jingle session initiate
Warning(webrtcvoiceengine.cc:360): SetTraceCallback() failed, err=0
WebRtc VoiceEngine codecs:
ISAC/16000/1 (103)
PCMU/8000/1 (0)
PCMA/8000/1 (8)
Warning(webrtcvoiceengine.cc:462): Unexpected codec: PCMU/8000/2 (110)
Warning(webrtcvoiceengine.cc:462): Unexpected codec: PCMA/8000/2 (118)
ILBC/8000/1 (102)
G722/16000/1 (9)
Warning(webrtcvoiceengine.cc:462): Unexpected codec: G722/16000/2 (119)
opus/48000/2 (111)
CN/8000/1 (13)
CN/16000/1 (105)
CN/32000/1 (106)
telephone-event/8000/1 (126)
red/8000/1 (127)
WebRtcVideoEngine::WebRtcVideoEngine
Warning(webrtcvideoengine.cc:838): SetTraceCallback(0x1614265c) failed, err=0
WebRtcVoiceEngine::Init
WebRtc VoiceEngine Version:
VoiceEngine 4.1.0
Build: svn:Unavailable(issue687) Oct 29 2013 12:59:30 ?
Applying audio options: AudioOptions {aec: false, agc: false, ns: true, hf: true, swap: false, typing: false, conference: false, agc_delta: 0, experimental_agc: false, experimental_aec: false, aec_dump: false, }
Warning(webrtcvoiceengine.cc:811): SetTypingDetectionStatus(0) failed, err=8003
Adjusting AGC level from default -3dB to -3dB
WebRtc VoiceEngine codecs:
opus/48000/2 (111)
ISAC/16000/1 (103)
G722/16000/1 (9)
ILBC/8000/1 (102)
PCMU/8000/1 (0)
PCMA/8000/1 (8)
CN/32000/1 (106)
CN/16000/1 (105)
CN/8000/1 (13)
red/8000/1 (127)
telephone-event/8000/1 (126)
WebRtcVoiceEngine::Init Done!
WebRtcVideoEngine::Init
WebRtcVideoEngine::InitVideoEngine
WebRtc VideoEngine Version:
VideoEngine 3.45.0
Build: svn:Unavailable(issue687) Oct 29 2013 13:00:07 ?
VideoEngine Init done
Applying audio options: AudioOptions {aec: false, agc: false, ns: true, hf: true, swap: false, typing: false, conference: false, agc_delta: 0, experimental_agc: false, experimental_aec: false, aec_dump: false, }
Warning(webrtcvoiceengine.cc:811): SetTypingDetectionStatus(0) failed, err=8003
Adjusting AGC level from default -3dB to -3dB
Allowing SCTP data engine.
Generating identity.
2014-11-11 11:34:44.909 AppRTCDemo[274:14357] Adding Audio and Video devices ...
Created VideoCapturer for Front Camera
Failed to find best capture format, fall back to the requested format I420 640x480x30
2014-11-11 11:34:44.919 AppRTCDemo[274:14557] WARNING: -[<AVCaptureConnection: 0x1569bae0> setVideoMinFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMinFrameDuration
2014-11-11 11:34:44.919 AppRTCDemo[274:14557] WARNING: -[<AVCaptureConnection: 0x1569bae0> setVideoMaxFrameDuration:] is deprecated. Please use AVCaptureDevice setActiveVideoMaxFrameDuration
Captured frame size 640x480. Expected format I420 640x480x30
Validate frame passed. format: I420 bpp: 12 size: 640x480 bytes: 460800 expected: 460800 sample[0..3]: 34, 34, 36, 36
Camera 'com.apple.avfoundation.avcapturedevice.built-in_video:1' started with format I420 640x480x30, elapsed time 9003 ms
2014-11-11 11:34:53.925 AppRTCDemo[274:14556] PCO onRenegotiationNeeded.
2014-11-11 11:34:53.926 AppRTCDemo[274:14357] onICEServers - add local stream.
2014-11-11 11:34:53.927 AppRTCDemo[274:14357] Adding Audio and Video devices ... DONE
2014-11-11 11:34:53.928 AppRTCDemo[274:14357] PC - setRemoteDescription.
2014-11-11 11:34:53.928 AppRTCDemo[274:14357] PC - setRemoteDescription.
2014-11-11 11:34:53.929 AppRTCDemo[274:14357] PC - setRemoteDescription.
2014-11-11 11:34:53.929 AppRTCDemo[274:14357] PC - setRemoteDescription.
2014-11-11 11:34:53.929 AppRTCDemo[274:14357] PC - setRemoteDescription.
Captured frame size 640x480. Expected format I420 640x480x30
Created channel for audio
NACK enabled for channel 0
NACK enabled for channel 0
Created channel for video
Session:4780210750428160133 Old state:STATE_INIT New state:STATE_RECEIVEDINITIATE Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p
2014-11-11 11:34:57.097 AppRTCDemo[274:14556] PCO onSignalingStateChange: 3
Setting remote voice description
Recv stream 19747849 reuse default channel
Stopping playout for channel #0
Add remote ssrc: 19747849
Disabling NACK for channel 1
Stopping playout for channel #1
New audio stream 3735928559 registered to VoiceEngine channel #1.
Add remote ssrc: 3735928559
Enabling audio level header extension with ID 1
Setting voice channel options: AudioOptions {}
Set voice channel options. Current options: AudioOptions {}
Changing voice state, recv=0 send=0
Setting remote video description
Hybrid NACK/FEC enabled for channel 0
Hybrid NACK/FEC enabled for channel 0
SetSendCodecs() : selected video codec VP8/1280x720x30fps@2000kbps (min=50kbps, start=300kbps)
Video max quantization: 56
VP8 number of temporal layers: 1
VP8 options : picture loss indication = 0, feedback mode = 0, complexity = normal, resilience = off, denoising = 0, error concealment = 0, automatic resize = 0, frame dropping = 1, key frame interval = 3000
Recv stream 2556733387 reuse default channel #0
Add remote ssrc: 2556733387
Hybrid NACK/FEC enabled for channel 1
New video stream 3735928559 registered to VideoEngine channel #1 and connected to channel #0
Add remote ssrc: 3735928559
Warning(webrtcvideoengine.cc:2685): SetReceiverBufferingMode(1, 0) failed, err=12606
Changing video state, recv=0 send=0
Warning(webrtcvoiceengine.cc:2622): SetOutputVolumePan(0, 1, 1) failed, err=8003
SetOutputScaling to left=1 right=1 for channel 0 and ssrc 19747849
Warning(webrtcvoiceengine.cc:2622): SetOutputVolumePan(1, 1, 1) failed, err=8003
SetOutputScaling to left=1 right=1 for channel 1 and ssrc 3735928559
RemoteVideoCapturer::Start
SetRenderer 2556733387 reuse default channel #0
RemoteVideoCapturer::Start
2014-11-11 11:34:57.161 AppRTCDemo[274:14556] PCO onAddStream.
2014-11-11 11:34:57.161 AppRTCDemo[274:14556] PCO onAddStream.
2014-11-11 11:34:57.162 AppRTCDemo[274:14556] PCO onAddStream.
2014-11-11 11:34:57.163 AppRTCDemo[274:14357] SEQ4-Setup AppRTC video view
2014-11-11 11:34:57.163 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.164 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.164 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.164 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.166 AppRTCDemo[274:14556] *** did SET REMOTE session No Local so do CREATE ANSWER
2014-11-11 11:34:57.167 AppRTCDemo[274:14556] *** did SET REMOTE session No Local so do CREATE ANSWER
2014-11-11 11:34:57.168 AppRTCDemo[274:14556] *** did SET REMOTE session No Local so do CREATE ANSWER
Local and Remote descriptions must be applied to get SSL Role of the session.
2014-11-11 11:34:57.176 AppRTCDemo[274:14357] SEQ5-Starting AppRTC video view and camera capture
Data is not available in the offer.
2014-11-11 11:34:57.179 AppRTCDemo[274:14556] SDP onSuccess(SDP) - set local description. GG
2014-11-11 11:34:57.179 AppRTCDemo[274:14556] **** FOO BAR
2014-11-11 11:34:57.179 AppRTCDemo[274:14556] *** did CREATE REMOTE session descripton
2014-11-11 11:34:57.180 AppRTCDemo[274:14556] *** did CREATE REMOTE session descripton
2014-11-11 11:34:57.180 AppRTCDemo[274:14556] *** did CREATE REMOTE session descripton
2014-11-11 11:34:57.187 AppRTCDemo[274:14556] *** did CREATE REMOTE session descripton sdp is v=0

o=- 4780210750428160133 2 IN IP4 127.0.0.1

s=-

t=0 0

a=group:BUNDLE audio video

a=msid-semantic: WMS ARDAMS

m=audio 1 111 103 0 8 106 105 13 126

c=IN IP4 0.0.0.0

a=rtcp:1 IN IP4 0.0.0.0

a=ice-ufrag:nA+ZQQ7gBhJKhFiR

a=ice-pwd:O4juWauisg09xFhcLEdx9UYs

a=fingerprint:sha-1 5D:0D:EA:28:45:0C:C3:50:14:83:91:1D:6D:82:9F:0E:9F:90:BC:99

a=setup:active

a=mid:audio

a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

a=sendrecv

a=rtcp-mux

a=rtpmap:111 opus/48000/2

a=fmtp:111 minptime=10

a=rtpmap:103 ISAC/16000

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:106 CN/32000

a=rtpmap:105 CN/16000

a=rtpmap:13 CN/8000

a=rtpmap:126 telephone-event/8000

a=maxptime:60

a=ssrc:4203279907 cname:ahXm7lKzi9Pj3LW/

a=ssrc:4203279907 msid:ARDAMS ARDAMSa0

a=ssrc:4203279907 mslabel:ARDAMS

a=ssrc:4203279907 label:ARDAMSa0

m=video 1 100 116 117

c=IN IP4 0.0.0.0

a=rtcp:1 IN IP4 0.0.0.0

a=ice-ufrag:nA+ZQQ7gBhJKhFiR

a=ice-pwd:O4juWauisg09xFhcLEdx9UYs

a=fingerprint:sha-1 5D:0D:EA:28:45:0C:C3:50:14:83:91:1D:6D:82:9F:0E:9F:90:BC:99

a=setup:active

a=mid:video

a=extmap:2 urn:ietf:params:rtp-hdrext:toffset

a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

a=sendrecv

a=rtcp-mux

a=rtpmap:100 VP8/90000

a=rtpmap:116 red/90000

a=rtpmap:117 ulpfec/90000

a=ssrc:2551012855 cname:ahXm7lKzi9Pj3LW/

a=ssrc:2551012855 msid:ARDAMS ARDAMSv0

a=ssrc:2551012855 mslabel:ARDAMS

a=ssrc:2551012855 label:ARDAMSv0

Ignored line: c=IN IP4 0.0.0.0
Ignored line: c=IN IP4 0.0.0.0
Destroying NSS identity
Destroying NSS identity
Jingle:Channel[audio|1|__]: DTLS setup complete.
Jingle:Channel[audio|2|__]: DTLS setup complete.
Jingle:Channel[video|1|__]: DTLS setup complete.
Jingle:Channel[video|2|__]: DTLS setup complete.
Destroying NSS identity
Destroying NSS identity
Enabling BUNDLE, bundling onto transport: audio
Channel enabled
Changing voice state, recv=0 send=0
Channel enabled
Changing video state, recv=0 send=0
Session:4780210750428160133 Old state:STATE_RECEIVEDINITIATE New state:STATE_SENTACCEPT Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p
2014-11-11 11:34:57.212 AppRTCDemo[274:14556] PCO onSignalingStateChange: 0
Setting local voice description
Disabling NACK for channel 0
Send channel 0 selected voice codec ISAC/16000/1 (103), bitrate=32000
Warning(webrtcvoiceengine.cc:1811): Unknown codec opus/48000/1 (111)
Enabling VAD
Add send ssrc: 4203279907
Setting receive voice codecs:
opus/48000/2 (111)
ISAC/16000/1 (103)
PCMU/8000/1 (0)
PCMA/8000/1 (8)
CN/32000/1 (106)
CN/16000/1 (105)
CN/8000/1 (13)
telephone-event/8000/1 (126)
Starting playout for channel #0
Starting playout for channel #1
Changing voice state, recv=1 send=0
Setting local video description
AddSendStream {id:ARDAMSv0;ssrcs:[2551012855];ssrc_groups:;cname:ahXm7lKzi9Pj3LW/;sync_label:ARDAMS}
SetSendStreamFormat() : selected video codec VP8/1280x720x30fps@2000kbps (min=50kbps, start=300kbps)
Video max quantization: 56
VP8 number of temporal layers: 1
VP8 options : picture loss indication = 0, feedback mode = 0, complexity = normal, resilience = off, denoising = 0, error concealment = 0, automatic resize = 0, frame dropping = 1, key frame interval = 3000
Add send ssrc: 2551012855
Destroying NSS identity
Changing video state, recv=1 send=0
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::[2002:902:37b8::902:37b8]:5039:5n8k8:67t7bc5hhumcffm1c850hvo1dj] for content: audio
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::9.2.55.184:5039:5n8k8:67t7bc5hhumcffm1c850hvo1dj] for content: audio
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::[fe80::e0e1:bee7:27dd:a0a1]:5039:5n8k8:67t7bc5hhumcffm1c850hvo1dj] for content: audio
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::[2002:902:37b8::902:37b8]:5043:63gqm:2vhv2qkf865aekmkiqabo0trfv] for content: video
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::9.2.55.184:5043:63gqm:2vhv2qkf865aekmkiqabo0trfv] for content: video
Warning(webrtcsession.cc:1266): Candidate has unknown component: Cand[:2:local:udp::[fe80::e0e1:bee7:27dd:a0a1]:5043:63gqm:2vhv2qkf865aekmkiqabo0trfv] for content: video
Setting voice channel options: AudioOptions {}
Set voice channel options. Current options: AudioOptions {}
Transport: audio, allocating candidates
Transport: audio, allocating candidates
Session:4780210750428160133 Old state:STATE_SENTACCEPT New state:STATE_INPROGRESS Type:urn:xmpp:jingle:apps:rtp:1 Transport:http://www.google.com/transport/p2p
2014-11-11 11:34:57.713 AppRTCDemo[274:14556] PCO onIceConnectionChange. 1
2014-11-11 11:34:57.713 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.71Jingle:Net[en0:9.2.50.0/23]: Allocation Phase=Udp
Jingle:Port[:1:0::Net[en0:9.2.50.0/23]]: Port created
Adding allocated port for audio
Jingle:Port[audio:1:0::Net[en0:9.2.50.0/23]]: Added port to allocator
Jingle:Conn[audio:rKqLQDk0:1:0:local:udp:9.2.50.11:52300->:1:0:local:udp:9.2.55.184:5038|C--W|-]: Connection created
Jingle:Channel[audio|1|__]: Created connection with origin=2, (1 total)
Jingle:Conn[audio:rKqLQDk0:1:0:local:udp:9.2.50.11:52300->:1:0:local:udp:9.2.55.184:5042|C--W|-]: Connection created
Jingle:Channel[audio|1|__]: Created connection with origin=2, (2 total)
Jingle:Net[pdp_ip0:10.43.221.8/32]: Allocation Phase=Udp
Jingle:Port[:1:0::Net[pdp_ip0:10.43.221.8/32]]: Port created
Adding allocated port for audio
Jingle:Port[audio:1:0::Net[pdp_ip0:10.43.221.8/32]]: Added port to allocator
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5038|C--W|-]: Connection created
Jingle:Channel[audio|1|__]: Created connection with origin=2, (3 total)
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5042|C--W|-]: Connection created
Jingle:Channel[audio|1|__]: Created connection with origin=2, (4 total)
3 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.719 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.719 AppRTCDemo[274:14556] *** did SET session descripton
2014-11-11 11:34:57.721 AppRTCDemo[274:14556] *** did SET REMOTE session LOCAL EXISTS - DO NOTHING
2014-11-11 11:34:57.721 AppRTCDemo[274:14556] *** did SET REMOTE session LOCAL EXISTS - DO NOTHING
2014-11-11 11:34:57.721 AppRTCDemo[274:14556] *** did SET REMOTE session LOCAL EXISTS - DO NOTHING
2014-11-11 11:34:57.721 AppRTCDemo[274:14556] *** did SET REMOTE session LOCAL EXISTS - DO NOTHING
2014-11-11 11:34:57.722 AppRTCDemo[274:14556] *** LOCAL SDP IS v=0

o=- 4780210750428160133 2 IN IP4 127.0.0.1

s=-

t=0 0

a=group:BUNDLE audio video

a=msid-semantic: WMS ARDAMS

m=audio 1 111 103 0 8 106 105 13 126

c=IN IP4 0.0.0.0

a=rtcp:1 IN IP4 0.0.0.0

a=ice-ufrag:nA+ZQQ7gBhJKhFiR

a=ice-pwd:O4juWauisg09xFhcLEdx9UYs

a=fingerprint:sha-1 5D:0D:EA:28:45:0C:C3:50:14:83:91:1D:6D:82:9F:0E:9F:90:BC:99

a=setup:active

a=mid:audio

a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level

a=sendrecv

a=rtcp-mux

a=rtpmap:111 opus/48000/2

a=fmtp:111 minptime=10

a=rtpmap:103 ISAC/16000

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:106 CN/32000

a=rtpmap:105 CN/16000

a=rtpmap:13 CN/8000

a=rtpmap:126 telephone-event/8000

a=maxptime:60

a=ssrc:4203279907 cname:ahXm7lKzi9Pj3LW/

a=ssrc:4203279907 msid:ARDAMS ARDAMSa0

a=ssrc:4203279907 mslabel:ARDAMS

a=ssrc:4203279907 label:ARDAMSa0

m=video 1 100 116 117

c=IN IP4 0.0.0.0

a=rtcp:1 IN IP4 0.0.0.0

a=ice-ufrag:nA+ZQQ7gBhJKhFiR

a=ice-pwd:O4juWauisg09xFhcLEdx9UYs

a=fingerprint:sha-1 5D:0D:EA:28:45:0C:C3:50:14:83:91:1D:6D:82:9F:0E:9F:90:BC:99

a=setup:active

a=mid:video

a=extmap:2 urn:ietf:params:rtp-hdrext:toffset

a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time

a=sendrecv

a=rtcp-mux

a=rtpmap:100 VP8/90000

a=rtpmap:116 red/90000

a=rtpmap:117 ulpfec/90000

a=ssrc:2551012855 cname:ahXm7lKzi9Pj3LW/

a=ssrc:2551012855 msid:ARDAMS ARDAMSv0

a=ssrc:2551012855 mslabel:ARDAMS

a=ssrc:2551012855 label:ARDAMSv0

2014-11-11 11:34:57.725 AppRTCDemo[274:14556] *** LOCAL AND REMOTE SDPs CREATED, SEND JINGLE ACCEPT
2014-11-11 11:34:57.726 AppRTCDemo[274:14556] PCO onIceGatheringChange. 1
2014-11-11 11:34:57.726 AppRTCDemo[274:14556] PCO onIceGatheringChange. 1
2014-11-11 11:34:57.727 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[audio] Index[0] Sdp[a=candidate:3131982484 1 udp 2113937151 9.2.50.11 52300 typ host generation 0

]
2014-11-11 11:34:57.728 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[audio] Index[0] Sdp[a=candidate:510839668 1 udp 2113937151 10.43.221.8 52878 typ host generation 0

]
2014-11-11 11:34:57.728 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[video] Index[1] Sdp[a=candidate:3131982484 1 udp 2113937151 9.2.50.11 52300 typ host generation 0

]
2014-11-11 11:34:57.729 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[video] Index[1] Sdp[a=candidate:510839668 1 udp 2113937151 10.43.221.8 52878 typ host generation 0

]
Jingle:Conn[audio:rKqLQDk0:1:0:local:udp:9.2.50.11:52300->:1:0:local:udp:9.2.55.184:5042|C-xW|-]: Connection deleted
Jingle:Channel[audio|1|__]: Removed connection (3 remaining)
Capture size changed : selected video codec VP8/640x480x30fps@2000kbps (min=50kbps, start=300kbps)
Video max quantization: 56
VP8 number of temporal layers: 1
VP8 options : picture loss indication = 0, feedback mode = 0, complexity = normal, resilience = off, denoising = 0, error concealment = 0, automatic resize = 1, frame dropping = 1, key frame interval = 3000
Jingle:Net[en0:9.2.50.0/23]: Allocation Phase=Relay
Jingle:Net[pdp_ip0:10.43.221.8/32]: Allocation Phase=Relay
Jingle:Net[en0:9.2.50.0/23]: Allocation Phase=Tcp
Jingle:Port[:1:0:local:Net[en0:9.2.50.0/23]]: Port created
Adding allocated port for audio
Jingle:Port[audio:1:0:local:Net[en0:9.2.50.0/23]]: Added port to allocator
Jingle:Net[pdp_ip0:10.43.221.8/32]: Allocation Phase=Tcp
Jingle:Port[:1:0:local:Net[pdp_ip0:10.43.221.8/32]]: Port created
Adding allocated port for audio
Jingle:Port[audio:1:0:local:Net[pdp_ip0:10.43.221.8/32]]: Added port to allocator
2014-11-11 11:34:57.828 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[audio] Index[0] Sdp[a=candidate:4096638564 1 tcp 1509957375 9.2.50.11 49775 typ host generation 0

]
2014-11-11 11:34:57.829 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[audio] Index[0] Sdp[a=candidate:1357985668 1 tcp 1509957375 10.43.221.8 49776 typ host generation 0

]
2014-11-11 11:34:57.829 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[video] Index[1] Sdp[a=candidate:4096638564 1 tcp 1509957375 9.2.50.11 49775 typ host generation 0

]
2014-11-11 11:34:57.829 AppRTCDemo[274:14556] PCO onICECandidate.
  Mid[video] Index[1] Sdp[a=candidate:1357985668 1 tcp 1509957375 10.43.221.8 49776 typ host generation 0

]
Jingle:Net[en0:9.2.50.0/23]: Allocation Phase=SslTcp
Jingle:Net[pdp_ip0:10.43.221.8/32]: Allocation Phase=SslTcp
All candidates gathered for audio:1:0
Transport: audio, component 1 allocation complete
Transport: audio allocation complete
Candidate gathering is complete.
2014-11-11 11:34:57.880 AppRTCDemo[274:14556] PCO onIceGatheringChange. 2
VAdapt Frame: 0 / 300 Changes: 0 Input: 640x480 Scale: 1 Output: 640x480 Changed: false
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5038|C--I|-]: Timed out after 15031 ms without a response, rtt=3000
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5038|C-xI|-]: Connection deleted
Jingle:Channel[audio|1|__]: Removed connection (2 remaining)
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5042|C--I|-]: Timed out after 15034 ms without a response, rtt=3000
Jingle:Conn[audio:9BTxuP/c:1:0:local:udp:10.43.221.8:52878->:1:0:local:udp:9.2.55.184:5042|C-xI|-]: Connection deleted
Jingle:Channel[audio|1|__]: Removed connection (1 remaining)
Jingle:Conn[audio:rKqLQDk0:1:0:local:udp:9.2.50.11:52300->:1:0:local:udp:9.2.55.184:5038|C-WI|28]: Timing-out STUN ping lhsofWu/jokB after 5001 ms
Jingle:Conn[audio:rKqLQDk0:1:0:local:udp:9.2.50.11:52300->:1:0:local:udp:9.2.55.184:5038|C-WI|28]: Unwritable after 5 ping failures and 5048 ms without a response, ms since last received ping=3536727 ms since last received data=3536727 rtt=100

Peter Mycue
pmycue@us.ibm.com
pmycue@gmail.com
704-626-9772