CloudHub Docs
Download Documents

RTN


Token

Token is generated by a combination of stream_url, timestamp, app_secret

1. Splicing request parameters

stream_url 、timestamp、app_secret to splice to build BodyStr, the splicing rule is “stream_url”+stream_url_value+“timestamp”+timestamp_value+app_secret

ParameterDescription
stream_urlstream_url not included when signing? after Parameter. stream_url format:stream_url
timestamptoken timestamp, The format is the number of seconds that have elated since 0:00 on January 1, 1970.For example, if you set timestamp to the current timestamp for another 600 seconds, token expires 10 minutes after build
app_secretIn your enterprise configuration there is secretkey, you can modify this configuration

eg:

2. Splicing string

3. sha256 Encryption