We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
請問 mpegts 本身有支援身份認證的功能嗎?例如以 jwt, cookies 、header 的方式帶 token 、帳密的方式。 可以參考文件的哪一個章節,謝謝。
The text was updated successfully, but these errors were encountered:
@yanhua1012
謝謝您的專業回覆,很具參考加值。我會改至 mpegts.js 討論。 另外能否請教,如果以 webSocket 的方式進行連線, 上述的 header 與 withCredential 仍有作用嗎?
Nope. The browser will determine whether cookies will be sent or not. We cannot control headers or cookies here. https://github.com/xqq/mpegts.js/blob/master/src/io/websocket-loader.js#L54
For WebSocket, I'm not familiar with which situation the cookies will or won't be sent. Please investigate them by yourself.
Sorry, something went wrong.
No branches or pull requests
請問 mpegts 本身有支援身份認證的功能嗎?例如以 jwt, cookies 、header 的方式帶 token 、帳密的方式。
可以參考文件的哪一個章節,謝謝。
The text was updated successfully, but these errors were encountered: