@i2v/i2v-web-player
v1.0.0
Published
i2v web player js file
Downloads
6
Readme
i2v-web-player
Create instance of i2v-player
declare var I2vSdk: any;
i2vSdk(playerServerIp: string, playerServerPort: string, useSecureConnection: boolean)
Get player instance
playerInstance = GetLivePlayer(containerId: string, resourceId: string, streamType: string, transcode: string)
Methods:
playerInstance.play()
playerInstance.stop()
playerInstance.setRetryingCallback(callback: () => void)
playerInstance.setErrorCallback(callback: (err: string) => void)