Module: deviceCapabilities

Methods


<static> GetBitRateLimit(codec)

Parameters:
Name Type Description
codec string
Source:
Returns:
Type
object

<static> GetDirectPlayProfiles()

Source:
Returns:
Type
object

<static> PostDeviceProfile()

Send Device Profile information to server

Source:
Returns:
Type
void

<static> getCodecProfiles()

Source:
Returns:
Type
object

<static> getContainerProfiles()

Source:
Returns:
Type
object

<static> getDeviceCapabilities()

Device Capabilities for Roku.
This will likely need further tweaking

Source:
Returns:
Type
object

<static> getDeviceProfile()

Source:
Returns:
Type
object

<static> getMaxHeightArray()

Source:
Returns:
Type
object

<static> getMaxWidthArray()

Source:
Returns:
Type
object

<static> getSubtitleProfiles()

Source:
Returns:
Type
object

<static> getTranscodingProfiles()

Source:
Returns:
Type
object

<static> removeDecimals(value)

Remove all decimals from a string

Parameters:
Name Type Description
value string
Source:
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 string

Parameters:
Name Type Description
codecString string
preferredCodec string
Source:
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>
""
Source:
Returns:
Type
object