updateCurrentVideo

open fun updateCurrentVideo(guid: String, title: String, imageURL: String, isLive: Boolean, position: Long)

This API first creates a new video using the guid and other information passed as arguments and sets this video as the current video. If the requested video is same as this current video then it updates the newly created current video with this information else it tries to fetch the metadata for this video from the host app and accordingly updates the metadata for this video.

Parameters

guid

the guid for the current video

title

the title for the current video

imageURL

the image of the video

isLive

true if the video is currently getting streamed

position

the current position of the video playback.