oracle communications webrtc session controller client sdk … · call rehydration .....2-35 update...

118
Oracle Communications WebRTC Session Controller: Client SDK Student Guide Edition 1.0 May 2015

Upload: others

Post on 02-Aug-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Oracle Communications WebRTC Session Controller: Client SDK

Student Guide

Edition 1.0

May 2015

Page 2: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle and Java are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Page 3: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Table of Contents

Overview ...........................................................................................................................................................1-1 WebRTC Session Controller Overview of SDKs ............................................................................................1-3 Agenda ...........................................................................................................................................................1-4 WebRTC Session Controller SDKs ................................................................................................................1-5 Mobile Application Development Landscape .................................................................................................1-6 WebRTC Session Controller Support for Mobile Applications ........................................................................1-7 Agenda ...........................................................................................................................................................1-8 WebRTC Session Controller Architecture ......................................................................................................1-9 SDK Architecture ............................................................................................................................................1-10 Agenda ...........................................................................................................................................................1-11 Concepts: WSCSession .................................................................................................................................1-12 Concepts: Package and SubSession .............................................................................................................1-13 Relationship between the major classes. .......................................................................................................1-14 Agenda ...........................................................................................................................................................1-15 Supported Features .......................................................................................................................................1-16

JavaScript .........................................................................................................................................................2-1 WebRTC Session Controller JavaScript SDK ................................................................................................2-3 Agenda ...........................................................................................................................................................2-4 WebRTC API..................................................................................................................................................2-5 Agenda ...........................................................................................................................................................2-6 WebRTC Session Controller Signaling Path ..................................................................................................2-7 WebRTC Session Controller Components .....................................................................................................2-8 Accessing WebRTC Session Controller JavaScript API ................................................................................2-9 JavaScript SDK Docs .....................................................................................................................................2-10 Agenda ...........................................................................................................................................................2-11 Overview ........................................................................................................................................................2-12 Caller side flows .............................................................................................................................................2-13 Callee side flows ............................................................................................................................................2-14 Session ..........................................................................................................................................................2-15 CallPackage ...................................................................................................................................................2-16 Call .................................................................................................................................................................2-17 CallConfig and MEDIADIRECTION ................................................................................................................2-18 Packages that support the Rich Communication Services (RCS) specification .............................................2-19 Protocols that are used ..................................................................................................................................2-20 ChatPackage..................................................................................................................................................2-21 FileTransferPackage ......................................................................................................................................2-22 MessagingPackage and Messaging ...............................................................................................................2-23 CapabilityPackage and CapabilityExchange ..................................................................................................2-24 Package – MessageAlertPackage .................................................................................................................2-25 Agenda ...........................................................................................................................................................2-26 Scenarios intro ...............................................................................................................................................2-27 Register ..........................................................................................................................................................2-28 Making a call – Audio/Video ...........................................................................................................................2-29 Making a call – Call with data channel ...........................................................................................................2-31 Subscribe/Notify .............................................................................................................................................2-32 Call rehydration ..............................................................................................................................................2-34

Page 4: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Call Rehydration .............................................................................................................................................2-35 Update a Call .................................................................................................................................................2-36 Auth Handler ..................................................................................................................................................2-37 Using the Auth Handler ..................................................................................................................................2-38 Using the Auth Handler (continued) ...............................................................................................................2-39 Agenda ...........................................................................................................................................................2-40 Class Hierarchy ..............................................................................................................................................2-41 Class Diagrams, Session ...............................................................................................................................2-42 Class Diagrams, Call Package .......................................................................................................................2-43 Class Diagrams, Chat Package .....................................................................................................................2-44 Class Diagrams, File Transfer Package .........................................................................................................2-45 Class Diagrams, Messaging Package ............................................................................................................2-46 Class Diagrams, Capability Package .............................................................................................................2-47 Class Diagrams, Message Alert Package ......................................................................................................2-48 Class Diagrams, Constants ............................................................................................................................2-49

Android .............................................................................................................................................................3-1 WebRTC Session Controller Android SDK ....................................................................................................3-3 Agenda ...........................................................................................................................................................3-4 SDK Architecture ............................................................................................................................................3-5 SDK Overview ................................................................................................................................................3-6 Supported Features .......................................................................................................................................3-7 API Main Classes ...........................................................................................................................................3-8 Class relationship ...........................................................................................................................................3-9 Code Examples ..............................................................................................................................................3-10 Code Sample - Authentication........................................................................................................................3-11 Code Sample – Session establishment ..........................................................................................................3-12 Code Sample – Outgoing Call ........................................................................................................................3-13 Code Sample – Incoming Call ........................................................................................................................3-14 Code Sample - Configuration .........................................................................................................................3-15 Code Sample - PeerConnectionFactory .........................................................................................................3-17 SDK Docs ......................................................................................................................................................3-18 SDK Files .......................................................................................................................................................3-19 Application Permissions .................................................................................................................................3-20 Things to know & Best Practices ....................................................................................................................3-21 Troubleshooting .............................................................................................................................................3-22 Troubleshooting - Device/Platform Issues ......................................................................................................3-23 Troubleshooting - Network .............................................................................................................................3-24 Troubleshooting - SDK ...................................................................................................................................3-25 Troubleshooting - Logging .............................................................................................................................3-26

iOS .....................................................................................................................................................................4-1 WebRTC Session Controller iOS SDK ...........................................................................................................4-3 Agenda ...........................................................................................................................................................4-4 Architecture ....................................................................................................................................................4-5 SDK Contents ................................................................................................................................................4-7 API Overview .................................................................................................................................................4-8 Class relationship ...........................................................................................................................................4-9 SDK Docs ......................................................................................................................................................4-10 Code Sample: Authentication .........................................................................................................................4-12

Page 5: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Code Sample: Establishing a session ............................................................................................................4-13 Code Sample: Outgoing call ..........................................................................................................................4-14 Code Sample: Incoming call ..........................................................................................................................4-15 Best Practices ................................................................................................................................................4-16 Troubleshooting .............................................................................................................................................4-17

Page 6: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36
Page 7: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 1

Overview

Chapter 1

Page 8: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 2

Page 9: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 3

WebRTC Session Controller Overview of SDKs

Page 10: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 4

Agenda

Page 11: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 5

WebRTC Session Controller SDKs

Page 12: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 6

Mobile Application Development Landscape

Page 13: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 7

WebRTC Session Controller Support for Mobile Applications

Page 14: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 8

Agenda

Page 15: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 9

WebRTC Session Controller Architecture

Page 16: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 10

SDK Architecture

Page 17: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 11

Agenda

Page 18: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 12

Concepts: WSCSession

Page 19: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 13

Concepts: Package and SubSession

Page 20: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 14

Relationship between the major classes.

Page 21: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 15

Agenda

Page 22: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Overview

Chapter 1 - Page 16

Supported Features

Page 23: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 1

JavaScript

Chapter 2

Page 24: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 2

Page 25: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 3

WebRTC Session Controller JavaScript SDK

Page 26: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 4

Agenda

Page 27: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 5

WebRTC API

Page 28: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 6

Agenda

Page 29: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 7

WebRTC Session Controller Signaling Path

Page 30: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 8

WebRTC Session Controller Components

Page 31: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 9

Accessing WebRTC Session Controller JavaScript API

Modular JS API libraries

The APIs are defined in different source files so that you can choose only the ones that are necessary for your application's functionality.

• wsc-common.js: contains the essential classes to setup a session between a client and the WebRTC Session Controller Signaling Engine.

• wsc-call.js: contains classes to configure WebRTC-based audio/video/datachannel communications.

• wsc-chat.js: contains classes to setup MSRP-based chat.

• wsc-filetransfer.js: contains classes to setup an MSRP-based file transfer.

• wsc-messaging.js: contains classes to setup a Paging mode messaging application.

• wsc-capability.js: contains the classes used to provide capability discovery functions.

• wsc-msgalert.js: contains the classes to implement Message alert applications that follow RFC-3842,

Page 32: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 10

JavaScript SDK Docs

Page 33: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 11

Agenda

Page 34: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 12

Overview

List of all available packages

• CallPackage

• ChatPackage

• FileTransferPackage

• MessagingPackage

• CapabilityPackage

• MessageAlertPackage

Page 35: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 13

Caller side flows

Page 36: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 14

Callee side flows

Page 37: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 15

Session

Page 38: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 16

CallPackage

Page 39: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 17

Call

Page 40: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 18

CallConfig and MEDIADIRECTION

Page 41: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 19

Packages that support the Rich Communication Services (RCS) specification

Page 42: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 20

Protocols that are used

Page 43: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 21

ChatPackage

Page 44: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 22

FileTransferPackage

Page 45: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 23

MessagingPackage and Messaging

Page 46: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 24

CapabilityPackage and CapabilityExchange

Page 47: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 25

Package – MessageAlertPackage

Page 48: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 26

Agenda

Page 49: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 27

Scenarios intro

Page 50: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 28

Register

Page 51: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 29

Making a call – Audio/Video

Page 52: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 30

Making a call – Audio/Video

Page 53: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 31

Making a call – Call with data channel

Page 54: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 32

Subscribe/Notify

Page 55: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 33

Subscribe/Notify

Page 56: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 34

Call rehydration

Page 57: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 35

Call Rehydration

Page 58: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 36

Update a Call

Page 59: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 37

Auth Handler

Page 60: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 38

Using the Auth Handler

Page 61: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 39

Using the Auth Handler (continued)

Page 62: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 40

Agenda

Page 63: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 41

Class Hierarchy

Page 64: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 42

Class Diagrams, Session

Page 65: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 43

Class Diagrams, Call Package

Page 66: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 44

Class Diagrams, Chat Package

Page 67: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 45

Class Diagrams, File Transfer Package

Page 68: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 46

Class Diagrams, Messaging Package

Page 69: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 47

Class Diagrams, Capability Package

Page 70: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 48

Class Diagrams, Message Alert Package

Page 71: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 49

Class Diagrams, Constants

Page 72: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

JavaScript

Chapter 2 - Page 50

Page 73: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 1

Android

Chapter 3

Page 74: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 2

Page 75: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 3

WebRTC Session Controller Android SDK

Page 76: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 4

Agenda

Page 77: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 5

SDK Architecture

Page 78: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 6

SDK Overview

Page 79: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 7

Supported Features

Page 80: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 8

API Main Classes

Page 81: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 9

Class relationship

Page 82: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 10

Code Examples

Page 83: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 11

Code Sample - Authentication

Page 84: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 12

Code Sample – Session establishment

Page 85: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 13

Code Sample – Outgoing Call

Page 86: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 14

Code Sample – Incoming Call

Page 87: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 15

Code Sample - Configuration

Page 88: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 16

Code Sample - Configuration

Page 89: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 17

Code Sample - PeerConnectionFactory

Page 90: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 18

SDK Docs

Page 91: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 19

SDK Files

Page 92: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 20

Application Permissions

Page 93: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 21

Things to know & Best Practices

Page 94: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 22

Troubleshooting

Page 95: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 23

Troubleshooting - Device/Platform Issues

Page 96: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 24

Troubleshooting - Network

Page 97: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 25

Troubleshooting - SDK

Page 98: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 26

Troubleshooting - Logging

Page 99: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 27

Troubleshooting - Logging

Page 100: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

Android

Chapter 3 - Page 28

Page 101: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 1

iOS

Chapter 4

Page 102: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 2

Page 103: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 3

WebRTC Session Controller iOS SDK

Page 104: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 4

Agenda

Page 105: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 5

Architecture

Page 106: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 6

Page 107: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 7

SDK Contents

Page 108: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 8

API Overview

Page 109: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 9

Class relationship

Page 110: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 10

SDK Docs

Page 111: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 11

Page 112: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 12

Code Sample: Authentication

Page 113: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 13

Code Sample: Establishing a session

Page 114: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 14

Code Sample: Outgoing call

Page 115: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 15

Code Sample: Incoming call

Page 116: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 16

Best Practices

Page 117: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 17

Troubleshooting

Page 118: Oracle Communications WebRTC Session Controller Client SDK … · Call Rehydration .....2-35 Update a Call ..... .....2-36

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.

iOS

Chapter 4 - Page 18