TheWidlarzGroup/react-native-video

Refresh expired bearer token in drm access

已关闭

#2,884 创建于 2022年10月5日

 (12 条评论) (1 个反应) (0 位负责人)Kotlin (3,027 个派生)batch import
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

  1. 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!

贡献者指南