Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pili.publishURL 生成的 URL 似乎无效了 #65

Open
keng42 opened this issue May 4, 2017 · 0 comments
Open

Pili.publishURL 生成的 URL 似乎无效了 #65

keng42 opened this issue May 4, 2017 · 0 comments

Comments

@keng42
Copy link

keng42 commented May 4, 2017

新版的时间戳鉴权 URL 是这样的

sign = hmac_sha1("/<StreamKey>?expire=<ExpireAt>&<OtherKey>=<OtherValue>", "<PublishKey>") 
publishToken = url_base64(sign)
  1. expire
  2. publishKey
  3. token 不包含 accessKey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant