Whether the playback policy for an asset or stream is public or signed
Field | Type | Required | Description | Example |
---|---|---|---|---|
type |
components.Type | ✔️ | N/A | webhook |
webhook_id |
Optional[str] | ➖ | ID of the webhook to use for playback policy | 1bde4o2i6xycudoy |
webhook_context |
Dict[str, Any] | ➖ | User-defined webhook context | { "streamerId": "my-custom-id" } |
refresh_interval |
Optional[float] | ➖ | Interval (in seconds) at which the playback policy should be refreshed (default 600 seconds) |
600 |
allowed_origins |
List[str] | ➖ | List of allowed origins for CORS playback (://:, ://) |