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> getDeviceCapabilities()

Device Capabilities for Roku.
This will likely need further tweaking

Source:
Returns:
Type
object

<static> getDeviceProfile()

Source:
Returns:
Type
object

<static> removeDecimals(value)

Remove all decimals from a string

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