cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
892
Views
0
Helpful
4
Replies

ACB client SDK didn't send packets

Problem ACB client SDK version: 3.2.2.1.1

didn't send packet to server and didn't establish video and audio tranfer.

And the same problem happened in "iOSFusionSDKSample" when i create call to the same destination

log

***WEBSOCKET*** SEND: {"type":"OK","callId":"CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87"}

-[WebRTCHandler peerConnection:didChangeSignalingState:] called: 0

***WEBSOCKET*** SEND: {"callId":"CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87","candidate":"candidate:3745682871 1 udp 2122194687 10.10.10.239 63893 typ host generation 0 ufrag fp4J network-id 1 network-cost 10","type":"ICE_CANDIDATE","sdpMid":"audio","sdpMLineIndex":"0"}

***WEBSOCKET*** SEND: {"callId":"CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87","candidate":"candidate:1413180658 1 udp 2122260223 169.254.101.237 62342 typ host generation 0 ufrag fp4J network-id 2 network-cost 10","type":"ICE_CANDIDATE","sdpMid":"audio","sdpMLineIndex":"0"}

***WEBSOCKET*** SEND: {"callId":"CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87","candidate":"candidate:448303106 1 tcp 1518280447 169.254.101.237 49758 typ host tcptype passive generation 0 ufrag fp4J network-id 2 network-cost 10","type":"ICE_CANDIDATE","sdpMid":"audio","sdpMLineIndex":"0"}

***WEBSOCKET*** SEND: {"callId":"CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87","candidate":"candidate:2445371719 1 tcp 1518214911 10.10.10.239 49759 typ host tcptype passive generation 0 ufrag fp4J network-id 1 network-cost 10","type":"ICE_CANDIDATE","sdpMid":"audio","sdpMLineIndex":"0"}

-[WebRTCHandler peerConnection:didChangeIceConnectionState:] called: 1

-[WebRTCHandler peerConnection:didAddStream:] called

-[WebRTCHandler didSetSessionDescriptionWithError:] called

Packets received for audio:0%, video:0%. Quality:13.

Audio was requested but zero audio input has been reported

Video was requested but zero video packets have been sent

Packets received for audio:0%, video:0%. Quality:13.

Packets received for audio:0%, video:0%. Quality:13.

Packets received for audio:0%, video:0%. Quality:13.

Packets received for audio:0%, video:0%. Quality:13.

Packets received for audio:0%, video:0%. Quality:13.

Packets received for audio:0%, video:0%. Quality:13.

Status changing from ACBClientCallStatusInCall to ACBClientCallStatusEnded for call with id:CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87

***WEBSOCKET*** CLOSE

Cannot send message until websocket is created.

Removing call with id:CL-1ba1694c-e8d2-4752-a644-945ffc8e2b87

***WEBSOCKET*** CLOSE

1 Accepted Solution

Accepted Solutions

robdoyle
Cisco Employee
Cisco Employee

Hi Matous,

Have you set up the outbound SIP server to point to the CUCM? that your sip endpoints are registered on?

You may also need to rewrite the outbound SIP URL depending on your configuration.

Both settings can be found at https://REAS_SERVER:8443/web_plugin_framework/webcontroller/admin/

Regards,

Rob

View solution in original post

4 Replies 4

robdoyle
Cisco Employee
Cisco Employee

Hi Matous,

I see didSetSessionDescriptionWithError is called.

What config values are you providing to the sample app?

The Server should be an FQDN or IP address (and not a URL).

Regards,

Rob

Hi Rob,

I create ACBUC with sessionId and then in ucDidStartSession create call to destination ########@##.###.##.## with audio and video set to SendAndReceive

Another failed in log:

Waiting for call configuration before creating sdpHandler...

***WEBSOCKET*** RECV: [{"type":"CALL_CONFIG","callId":"CL-4405b837-55d7-49a8-97e4-19a5a595e324","iceServers":[]}]

CALL_CONFIG received.

CALL_CONFIG delegate <ACBClientPhone: 0x1c42c5860>

Received call configuration 1

Received call configuration for call with Trickle ICE strategy CL-4405b837-55d7-49a8-97e4-19a5a595e324

Adding ICE candidates from call configuration message to list of stun servers - 0

AVCaptureDevice device 1, Back Camera, com.apple.avfoundation.avcapturedevice.built-in_video:0

AVCaptureDevice device 2, Front Camera, com.apple.avfoundation.avcapturedevice.built-in_video:1

WebRTCHandler activated in normal mode.

ACBClientCall setCamera 2

Preview mirroring disabled for call CL-4405b837-55d7-49a8-97e4-19a5a595e324

ACBVideoCaptureSetting captureSettingWithResolution resolution=2 frameRate=30

Added outbound call to 'sip:#########@##.###.##.##', with audio:SendAndReceive, video:SendAndReceive, delegate:YES, status:ACBClientCallStatusSetup, id:CL-4405b837-55d7-49a8-97e4-19a5a595e324

STUN servers=0, TURN servers=0, total=0

Creating PeerConnection with googIPv6=true

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x1c0039820> to GL_RENDERBUFFER 1

Failed to make complete framebuffer object 8cd6

Failed to bind EAGLDrawable: <CAEAGLLayer: 0x1c422f2a0> to GL_RENDERBUFFER 1

Failed to make complete framebuffer object 8cd6

-[WebRTCHandler peerConnectionShouldNegotiate:] called

Using 640x480@30 for video

__51-[WebRTCHandler didCreateSessionDescription:error:]_block_invoke called for: offer

Session description created in call state: ACBClientCallStatusSetup - 1

Regards,

Matous

robdoyle
Cisco Employee
Cisco Employee

Hi Matous,

Have you set up the outbound SIP server to point to the CUCM? that your sip endpoints are registered on?

You may also need to rewrite the outbound SIP URL depending on your configuration.

Both settings can be found at https://REAS_SERVER:8443/web_plugin_framework/webcontroller/admin/

Regards,

Rob

Hi Rob,

it works now. Thank you for your help.

Regards,

Matous

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: