TSL SDK provides methods for fetching details of a specific show and its current event, enabling you to get show and current event details in your app. Retrieve Shows information by "". Same key used in the embed and in the url.

For example:

https://talkshop.live/watch/o_HHIe1c8GfZ the "show-key" is o_HHIe1c8GfZ

Show Details

getDetails(showKey:completion:)
Get detailed information about a specific show.

Parameters:

  • showKey: The unique identifier of the show.
  • callback: An optional callback that will be called once the show details are fetched or an error is thrown.
Show.getDetails(showKey) { error, show -> }

Response:

TBA

Show Status

getStatus(showKey:completion:)
Get the current event of a show.

Parameters:

  • showKey: The unique identifier of the show.
  • callback: An optional callback that will be called once the show details are fetched or an error is thrown..
Show.getStatus(showKey) { error, show -> }

Response:

TBA
  

Show status -
created: the show has not started and trailer_url is ready to be consumed

live : the show is currently live and the stream hls_playback_url is ready to consume.

transcoding: the show is no longer live and the VOD is not available as it is being transcoded

finished: the show is no longer live and the VOD hls_url is ready to be consumed.