INTEGRATION

HTML 5 Iframe INTEGRATION

Clone the current project. This will be our main project.

git clone https://github.com/rahullahoria/mogi-video-analytics-exoplayer.git

 

 This is Exoplayer fork, which have integration of Mogi Streaming Engine

git clone https://github.com/rahullahoria/mogi-exoplayer.git

Next, add the following to your project’s by Step 1 settings.gradle file, replacing path/to/exoplayer with the path to your local copy of step 2:

gradle.ext.exoplayerRoot = ‘path/to/exoplayer-with-mogi-streaming-engine by step 2’



Exoplayer integration (Android Native)

Mogi Image APIs

We will need an Image source URL. e.g.

Full image URL : https://bag-public.s3.ap-south-1.amazonaws.com/images/cute-baby.jpg 

Source URL : https://bag-public.s3.ap-south-1.amazonaws.com

Image Path :  images/cute-baby.jpg

Source URL : https://bag-public.s3.ap-south-1.amazonaws.com/images

Image Path : cute-baby.jpg

After image configuration is done, “appId” will be provided to use image resize.

HTML Code To Play Live Stream Video