TheWidlarzGroup/react-native-video
Refresh expired bearer token in drm access
已關閉
#2,884 建立於 2022年10月5日
6.x.xPlatform: AndroidPlatform: iOSV6demo requestedfeaturehelp wanted
倉庫指標
- 星標
- (7,677 顆星)
- PR 合併指標
- (平均合併 2天 3小時) (30 天內合併 11 個 PR)
描述
Current behavior
I need to refresh my url (streaming video) periodically since it has a token that expires after some time. I have already managed this flow (I ask the new url before it expires) but screen appears blank for about a second after url refreshing, probably caused by source reloading. I also tried putting the token in the source header, but nothing.
Reproduction steps
- Change source (same url with different token) while it plays
Expected behavior
The source must be changed without the user noticing the transition.
Platform
- Android TV
- tvOS
Version
5.2.0
Thanks to everyone!