aws / aws/amazon-ivs-react-native-player

Failed to load playlist

Open
#89 2 comments 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
313
Forks
42
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
If I render the player before the stream has started then I get a 'failed to load playlist' error. Once the stream starts I can manually press play and it will work, however I was assuming that it would either autoplay once the stream starts or I would at least get `onData` events

May be expected behaviour but I wasn't sure

**To reproduce**
Render this before the stream starts
`
const Player = () => {
return (

);
};
`

**Expected behavior**
The player to automatically play once the stream has started

**Screenshots**

**Device (please complete the following information):**
- Real device
- Device: realme 8
- OS: Android 12

**Debug logs**
Failed to load playlist

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.