react-player icon indicating copy to clipboard operation
react-player copied to clipboard

Using the dashjs player extend to modify the header field does not take effect

Open gankaicode opened this issue 2 years ago • 0 comments

When using react-player to play MPEG-DASH streaming media files, each streaming media file needs to be encrypted and played. It is necessary to add a header field or add a parameter to the URL to facilitate verification. I use dashjs to play device, and did the corresponding operation, but it didn’t work, please see the demo for details

Current Behavior

Using the dashjs player extend to modify the header field does not take effect

Expected Behavior

Steps to Reproduce

  1. Please see the demo below

Environment

  • URL attempting to play:
  • Browser: Chrome Version 115.0.5762.4 (Official Build) dev (arm64)
  • Operating system: M1
  • jsFiddle example: https://codesandbox.io/s/black-mountain-ds3iol?file=/src/App.js

Other Information

gankaicode avatar May 15 '23 14:05 gankaicode