You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static enum State {
BUFFERING,
PLAYING,
READY,
IDLE,
ENDED;
private State() {
}
}
But, on iOS, the IVSPlayerState is defined:
typedef NS_ENUM(NSInteger, IVSPlayerState) {
/// Indicates that the status of the player is idle.
IVSPlayerStateIdle,
/// Indicates that the player is ready to play the selected source.
IVSPlayerStateReady,
/// Indicates that the player is buffering content.
IVSPlayerStateBuffering,
/// Indicates that the player is playing.
IVSPlayerStatePlaying,
/// Indicates that the player reached the end of the stream.
IVSPlayerStateEnded,
} NS_SWIFT_NAME(IVSPlayer.State);
The ordinal values are different and it is breaking my efforts to create a react native wrapper across both platforms for AWS IVS.
Thanks!
The text was updated successfully, but these errors were encountered:
FYI, on Android, the
State
enum is defined:But, on iOS, the
IVSPlayerState
is defined:The ordinal values are different and it is breaking my efforts to create a react native wrapper across both platforms for AWS IVS.
Thanks!
The text was updated successfully, but these errors were encountered: