Optional
allowedSpecify the ISO 3166-1 two letter country codes to explicitly allow viewer to watch the stream from. If the viewer's location does not match any of the specified countries, they will be blocked from viewing stream, else they will be allowed to view stream. This geo-fencing rule works in concert with the IP and domain restrictions as well. Specifying geo restriction rules in a token will override account-wide rules. Only one of allowedCountries or deniedCountries should be specified. If the specified streams require authentication, the list of allowed countries can be overridden by the subscribe token.
Optional
allowedMay specify multiple IPv4 addresses or CIDR notated network blocks. If specified, the token will only be usable from those IP addresses.
Not currently supported with RTMP.
Optional
allowedIf specified only the domains in list will be allowed in requests to Director API with token. Wildcard subdomains are also allowed, e.g.: "*.demo.com". When unspecified (empty list) there are no domain restrictions.
Optional
bindIf specified will bind the token to the first X IP addresses used with token in requests to Director API, thus restricting the token to those IP addresses without being known beforehand. Mutually exclusive with allowedIpAddresses option.
Not currently supported with RTMP.
Optional
Beta
clipSet to true
to allow this publish token to enable live clipping on specified streams.
This flag cannot be set to true
when the record flag is enabled.
false
.
Live clipping is currently in Beta phase.
Optional
deniedSpecify the ISO 3166-1 two letter country codes to explicitly deny viewer to watch the stream from. If the viewer's location does match any of the specified countries, they will be blocked from viewing stream, else they will be allowed to view stream. This geo-fencing rule works in concert with the IP and domain restrictions as well. Specifying geo restriction rules in a token will override account-wide rules. Only one of allowedCountries or deniedCountries should be specified. If the specified streams require authentication, the list of denied countries can be overridden by the subscribe token.
Optional
displaySet to true
to display passphrase encryption settings in the dashboard as well as returning the SRT passphrase in response to this API call.
false
.
Optional
enableSet to true
to receive webhook notifications for thumbnails for the specified streams.
Optional
expiresNumber of seconds until the token expires.
If not specified, the token never expires.
Optional
geoGeo cascade settings for cascading stream to other clusters.
Defaults to account related setting if unset.
Name for the token that is used to display in the dashboard.
Optional
lowSet to false
disable the low latency mode for RTMP ingest.
true
.
Optional
multisourceSet to false
to disable the multi source capability for this publish token.
true
.
Optional
originCluster to route specified streams to.
Default is the account's default cluster.
Optional
recordSet to true
to allow this publish token to be allowed to record the specified streams.
false
.
Optional
Beta
restreamList of endpoints to restream the stream.
Secret key for restreaming endpoint.
The endpoint to restream media
Restream is currently in Beta phase.
List of stream names.
Optional
subscribeSet to true
to require authentication to subscribe to the specified streams.
false
.
Represents the information to create a publish token.