AMP Android SDK: Akamai's Media Acceleration and Efficiency

Document created by Orlando Sanchez Martinez Employee on Aug 9, 2017
Version 1Show Document
  • View in full screen mode

Akamai's Media Acceleration and Efficiency (MAE) is the next generation of Akamai’s media acceleration technology, designed to improve viewing experiences for over-the-top (OTT) video, accelerate video games and other software downloads. Read more about it here.

 

 

Integrating MAE into AMP

 

1) Include into your project the following libraries:

MediaAcceleration.aar (standard MAE distribution)

amp-akamai-media-acceleration.jar (integrates MAE into AMP)

 

2) Instead of calling AMP's:

videoPlayerContainer.prepareResource(MEDIA_ASSET_URL_HLS);

you should call:

AkamaiMediaAcceleration.prepareResource(MEDIA_ASSET_URL_HLS, videoPlayerContainer);

 

3) On the Activity's onStop(), you should add the line:

AkamaiMediaAcceleration.stop();

 

An example of this can be found in the AkamaiAccelerationSample sample, on our release package.

Attachments

    Outcomes