This applications is provide one to one video calls with using Vonage Video API Android SDK
- Picture In Picture Mode
- Enable / disable audio
- Switch camera views
- Android studio 4.0+
- Android Build Tools v30.0.2
- Kotlin 1.4.10
- Clone this repository into your folder
- Create your SESSION_ID, API_KEY, TOKEN from OpenTok Java server-side library
buildTypes.each {
/* Add your OpenTok Session Id in Double quote Ex. "<session_id>" */
it.buildConfigField 'String', 'SESSION_ID', '""'
/* Add your OpenTok API key in Double quote Ex. "<api key>" */
it.buildConfigField 'String', 'API_KEY', '""'
/* Add your OpenTok Token in Double quote Ex. "<token>" */
it.buildConfigField 'String', 'TOKEN','""'
}
- Replace the following empty strings with your value
- Set your gradle & compiler online for first time only to sync gradle
- After complete sync, just press run button to execute code
- Opentok library
- 100% kotlin
INTERNET
: requires for accessing the internet.
RECORD_AUDIO
: Requires for supporting Audio recording option to be enabled (by default, its disabled).CAMERA
: Requires for supporting Camera image capture option to be enabled (by default, it’s disabled).
- You need to install same build in two different device and open the application. You will directly connect in single video call.
Copyright 2020 Simform Solutions
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.