Hyperloop: required .aar file in android
1. Create a test project.
2. Enable Hyperloop.
3. Add Third-party libraries on Platform > android
4. Add the following code in index.js
2. Enable Hyperloop.
3. Add Third-party libraries on Platform > android
4. Add the following code in index.js
(function constructor(args) {
|
var VideoView = require('com.twilio.video.VideoView');
|
var Activity = require('android.app.Activity');
|
var activity = new Activity(Ti.Android.currentActivity);
|
|
var primaryVideoView = new VideoView(activity);
|
$.container.add(primaryVideoView);
|
$.container.open();
|
})(arguments[0] || {});
|
5. Build on android devices.
Good keep it up :)
উত্তরমুছুন