TheWidlarzGroup/react-native-video

Refresh expired bearer token in drm access

クローズ

#2,884 opened on 2022/10/05

 (12 件のコメント) (1 件のリアクション) (0 人の担当者)Kotlin (3,027 件のフォーク)batch import
6.x.xPlatform: AndroidPlatform: iOSV6demo requestedfeaturehelp wanted

Repository metrics

Stars
 (7,677 個のスター)
PR merge metrics
 (平均マージ 2d 3h) (30d で 11 merged PRs)

説明

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!

コントリビューターガイド