Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVideoParams

interface IVideoParams
Extends com.amazon.apmf.IStandard The VideoParams stores video related information required to create mediasamplesourcetrack for video

Methods

setVideoResolution()

void setVideoResolution(Resolution resolution)
Sets the resolution of video.

Parameters

resolution
Resolution — Required Resolution instance containing the width and height of video in Pixels.

setVideoFrameRate()

void setVideoFrameRate(double frameRateHz)
Sets the frame rate of video.

Parameters

frameRateHz
double — Required The frame rate of video in Hz.

setCodecSpecificConfigData()

void setCodecSpecificConfigData(u8[] configData)
Sets the codec specific configuration data.

Parameters

configData
u8[] — Required The codec specific configuration data.

enableSecureVideo()

void enableSecureVideo()
Enables secure video path for DRM protected content.

disableSecureVideo()

void disableSecureVideo()
Disables secure video patht.

enableEncryption()

void enableEncryption()
Enables DRM encryption.

disableEncryption()

void disableEncryption()
Disables DRM encryption.
Last modified on October 29, 2026