Skip to content
New issue

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

AirPlay is not working with FilePlayer and hls #1637

Open
tpettrov opened this issue May 25, 2023 · 0 comments
Open

AirPlay is not working with FilePlayer and hls #1637

tpettrov opened this issue May 25, 2023 · 0 comments
Labels
enhancement Indicates new feature requests

Comments

@tpettrov
Copy link

tpettrov commented May 25, 2023

Current Behavior

When chosen to play via AirPlay with file player, the airplay logo appears in player but then video continues to play in browser.

Expected Behavior

The video should be played on the receiver (TV) via AirPlay.

Steps to Reproduce

  1. Open Safari.
  2. Open React Player demo page. https://cookpete.com/react-player/
  3. Choose HLS.
  4. Add Controls.
  5. Click AirPlay Icon. Choose receiver.
  6. Watch the bug happening :)

Environment

Other Information

I dig a little bit. Reason is hidden in hls.js player attaching blob as src on video element. Blob being sent to the AirPlay receiver can't do anything with it. Possible solution is to add 'source' tag. Tried workaround by passing url in array to imitate playlist as it's adding source tags but there is some bug with generating url, which is a separate issue with this lib...

@tpettrov tpettrov changed the title AirPlay is not working AirPlay is not working with FilePlayer and hls May 29, 2023
@luwes luwes added the enhancement Indicates new feature requests label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants