Repository navigation
Releases: NagraMediaPlayer/opy-sdk-react
Releases · NagraMediaPlayer/opy-sdk-react
Release list
v1.15.6
v1.15.5
New onHttpError callback prop to report HTTP errors related to playback.
/**
- @callback OTVPlayer.props.onHttpError
- @summary Callback set by application to handle event onHttpError.
- @PARAM {Object} event The event object.
- @PARAM {string} event.url URL on which the error was detected.
- @PARAM {Date} event.date Timestamp of the response / error.
- @PARAM {number} event.statusCode Status code (>= 400) of the error.
- @PARAM {string} event.message Error message in response.
- @PARAM {Object} event.platform Optional platform specific error details
- @PARAM {string} event.platform.name Name of the platform. Android | iOS | Web.
- @PARAM {Array} event.platform.data String Array of additional error data.
*/
Limitations
Web: No support for Safari browser and HLS stream errors
iOS: Due to the black box nature of this environment, it is not possible to report the exact URL that error was triggered against. Instead the url field will contain the current source .m3u8 playlist.
v1.15.4
v1.15.3
v1.15.2
v1.15.0-open-source
recreated previous release