getMediaUrl
Requires:
@ray-js/lock-sdk≥1.0.0
Method signature
getMediaUrl(params: )Description
Get the actual playback URL of a video
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Multimedia URL parameters |
Return Value
Type: Promise<MediaUrlResult>
Playable media URL (or the host-defined address field)
MediaUrlResult
| Property | Type | Description |
|---|---|---|
mediaUrl | string | Media file access URL (temporary URL signed by the cloud) |