- Source:
Methods
-
<static> GetBitRateLimit(codec)
-
Parameters:
Name Type Description codec
string Returns:
- Type
- object
-
<static> GetDirectPlayProfiles()
-
Returns:
- Type
- object
-
<static> getCodecProfiles()
-
Returns:
- Type
- object
-
<static> getContainerProfiles()
-
Returns:
- Type
- object
-
<static> getDeviceCapabilities()
-
Returns the Device Capabilities for Roku.
Also prints out the device profile for debuggingReturns:
- Type
- object
-
<static> getDeviceProfile()
-
Returns:
- Type
- object
-
<static> getMaxHeightArray()
-
Returns:
- Type
- object
-
<static> getMaxWidthArray()
-
Returns:
- Type
- object
-
<static> getSubtitleProfiles()
-
Returns:
- Type
- object
-
<static> getTranscodingProfiles()
-
Returns:
- Type
- object
-
<static> printDeviceProfile(profile)
-
Print out the deviceProfile for debugging
Parameters:
Name Type Description profile
object Returns:
- Type
- void
-
<static> removeDecimals(value)
-
Remove all decimals from a string
Parameters:
Name Type Description value
string Returns:
- Type
- string
-
<static> setPreferredCodec(codecString, preferredCodec)
-
Takes and returns a comma delimited string of codecs.
Moves the preferred codec to the front of the stringParameters:
Name Type Description codecString
string preferredCodec
string Returns:
- Type
- string
-
<static> updateProfileArray(profileArray, videoCodec, videoProfile [, profileLevel])
-
Recieves and returns an assArray of supported profiles and levels for each video codec
Parameters:
Name Type Argument Default Description profileArray
object videoCodec
string videoProfile
string profileLevel
string <optional>
"" Returns:
- Type
- object