/
v3.0.11Get access

getVideoUrlIframe

Returns a signed, short-lived encapsulation URL used to render a secure video player for the currently active sport game session. This command used for streaming a live sports event to authenticated users.

Request parameters:

Name
DescriptionTypeValuesDefaultSource
providerId
Video service provider namenumber--
Key from responseprovider_id
videoId
Unique identifier of the video, it tells the server exactly which video file or live stream to go grab.string--
Key from responsevideo_id
useHls
Whether to use HLS streaming, it tells the server if the video should be sent in small "chunks"booleantrue / false--
assetId
Unique identifier of the asset to be processed or retrievednumber--
Key from responseasset_id

Call example:

getVideoUrlIframe({
  useHls: true,
  videoId: 27484906,
  provider: 51
})

Response examples:

{
  code: 0,
  rid: 128975036,
  data: 'https://streambridge.feedconstruct.com/player/tok_e4113d69-eb36-466d-a962-688ccda10bbe_5d068da94c6050073f87248c7925ca98ff4cfd765c8a782ef3ceaca7391d14c4'
}

Response parameters:

NameDescriptionTypeValues
data
A temporary video stream URL generated for the client. This URL provides access to a video player resource and is typically secured with a token.string-