This demo demonstrates basic in-app screen sharing functionality of the Voximplant iOS SDK. The application supports video calls between this iOS app and other apps that use any Voximplant SDK.
The application is able to:
- log in to the Voximplant Cloud
- auto login using access tokens
- make an video call
- receive an incoming call
- switch camera during a call
- enable/disable video during a call
- enable/disable screen sharing during a call
- auto reconnect/relogin
To get started, you'll need to register a free Voximplant developer account.
You'll need the following:
- Voximplant application
- two Voximplant users
- VoxEngine scenario
- routing setup
- VoIP services certificate for push notifications. Follow this tutorial to upload the certificate to the Voximplant Control Panel
We've implemented a special template to enable you to quickly use the demo – just install SDK tutorial from our marketplace:
You can set up it manually using our quickstart guide and tutorials
require(Modules.PushService);
VoxEngine.addEventListener(AppEvents.CallAlerting, (e) => {
const newCall = VoxEngine.callUserDirect(
e.call,
e.destination,
e.callerid,
e.displayName,
null
);
VoxEngine.easyProcess(e.call, newCall, ()=>{}, true);
});
-
Clone this repo
-
Open the
Swift.xcodeproj
workspace -
Target InAppScreenSharing and build the project using Xcode
Log in using:
- Voximplant user name in the format
[email protected]
- password
See the following classes for code details:
Enter a Voximplant user name to the input field and press "Call" button to make a call.
See the following classes for code details:
Enable/disable video or screen sharing during a call.
See the following classes for code details: