get https://api.accelevents.com/rest/events//session//default-playback
Get default playback details for the session associated with the event.
Using this API you can get playback details like playBackId
, assetId
, playBackRestrictionToken
, thumbnailRestrictionToken
, duration
for streaming/recording any session.
To call this API, you need to pass eventurl
and id
as path parameters.
This API can be used by any registered attendee within the event
Here is the description of response attributes, which returns to the form of JSON.
Attributes | Description |
---|---|
assetId | It's returning the unique playback session assets ID. |
createdAt | It's returns the created date of playback record. |
createdBy | It's returns playback created user ID. |
defaultPlayback | It's returns flag default playback. If the flag is true, it will play default playback for the session. |
duration | It's returns the session playback duration. |
fileName | Its returns file name of session default playback. |
id | Returns unique ID of default playback session. |
playBackId | The live stream's playback ID. |
playBackRestrictionToken | It's contains playback restriction token, which is allows you to set additional rules for playing videos. For instance, viewers can play videos embedded on the https://example.com website when you set the Playback Restrictions with example.com as an allowed domain. Any Video requests from other websites are denied. |
signed | Check whether stream playback signed with playback validation or not. |
thumbnailRestrictionToken | It's contains playback restriction token, which is allows you to set additional rules for thumbnails. For instance, viewers can view thumbnails embedded on the https://example.com website when you set the Playback Restrictions with example.com as an allowed domain. Any thumbnails request from other websites are denied. |
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |
4010101 | Not authorized |
4042002 | No default playback found for session. |