Simulcast Streamer
class SimulcastStreamer(context: Context, token: String, isPlayer: Boolean, eventListener: SimulcastEventListener)
Content copied to clipboard
SimulcastStreamer class can be used to playback simulcast streams
Parameters
context
Application context is recommended
token
Simulcast token returned from the server when a stream is created
is Player
Initialize as a Player or just metadata listener/reporter.
event Listener
Event listener for the events sent out by the player.
Constructors
SimulcastStreamer
Link copied to clipboard
fun SimulcastStreamer(context: Context, token: String, isPlayer: Boolean, eventListener: SimulcastEventListener)
Content copied to clipboard
Types
Functions
disconnect
Link copied to clipboard
fun disconnect()
Content copied to clipboard
Stop playing the stream
Properties
currentItem
Link copied to clipboard
currentTime
Link copied to clipboard
state
Link copied to clipboard