Documentation

Migration guide

From v6 to v7

  • Please read the below carefully to avoid any breaking changes in your player set up when upgrading to Radiant Media Player v7 from v6
    • setSrc API method now only accepts an Object as input - in v6 you could pass a String, this is no longer possible with v7
    • Removed rmp-three-xr player builds (specific for VR content) - those builds are now covered by rmp-three player builds that cover both 360 and VR use-cases -
      the files rmp-three-xr.min.js, rmp-three-hlsjs-xr.min.js and rmp-three-shaka-xr.min.js are therefore no longer available with our cloud-player or in self-hosting mode. Use rmp-three.min.js, rmp-three-hlsjs.min.js and rmp-three-shaka.min.js files instead.
    • Removed the following player settings
      • disableKeyboardControl - no replacement for this setting (keyboard control is now mandatory and cannot be de-activated)
      • uiSeparator - no replacement for this setting (separator is frozen to letter |)
      • shakaStartLevel - this setting is now auto managed internally by the player
      • hlsJSMaxAudioFramesDrift, hlsJSLiveSyncDurationCount, hlsJSLiveMaxLatencyDurationCount, hlsJSLiveSyncDuration, hlsJSLiveMaxLatencyDuration, hlsJSInitialLiveManifestSize, hlsJSCapLevelOnFPSDrop - those settings can still be set with hlsJSCustomConfig setting - see our documentation
      • shakaDurationBackoff, shakaStartAtSegmentBoundary, shakaManifestDefaultPresentationDelay, shakaSwitchInterval - those settings can still be set with shakaCustomConfig - see our documentation
      • bitrates, backupBitrates and video360FallbackBitrates - use src, backupSrc and video360FallbackSrc settings instead
    • Removed adEnableOmid and adImaEnableOmidBeta settings because OMID support is now out of BETA (and enabled by default)
    • Removed webmFirst, webmCodecs and oggCodec settings - replaced with a new approach on how to detect codecs support for progressive download
    • Replaced the following API events
      • adloadererror with imasdkloaderror
      • hlslevelswitched with levelswitched
    • Removed 103 error code and 1007, 1013, 6002 warning
    • Removed the following API methods
      • getFramework
      • ENV.canPlayType
      • getDefaultPlayerSettings
      • getPlayerSettings
    • The following API methods now return a Boolean when no value is available (before null was returned)
      • getWaitingUI
      • getMute
    • The following API methods now return an empty Array or Object when no value is available (before null was returned)
      • getCaptionsData
      • getCaptionsList
      • getMetadata
      • getChapters
      • getHlsManifestData
      • getHlsSessionData
      • getHlsLevelData
      • getHlsFragmentData
      • getHlsFragmentBeingPlayedData
      • getHlsJSInstance
      • getShakaPlayerInstance
      • getHtmlMediaElement
      • getErrorData
      • getAdPodInfo
      • getAdsManager
      • getAdTraffickingParameters
      • getAdTraffickingParametersString
      • getAdWrapperAdIds
      • getAdWrapperAdSystems
      • getAdWrapperCreativeIds
      • getCompanionAds
      • getCompanionAd
      • getAudioTracks
      • getContentMetadata
      • getPlaylistData
      • getPlaylistItem
      • getBitrates
      • getDownloadedList

©2015-2024 Radiant Media Player. All Rights Reserved.