livepeer / livepeer/studio

Test player failing to load src on firefox

Open
#277 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
88
Forks
37
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug (required)** A clear and concise description of what the bug
is.

Test player is not working on firefox (85.0.1). Upon inspection it seems that the player is failing to load certain hls videos.
I've tested loading different VODs such as https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8
and these work, but when trying to load an active livepeer stream, the player hangs.

To test different sources I just hardcoded the parameter passed to player.load() in player/index.tsx

I have tested this in different machines with firefox installed and they all fail.

I've attached a screenshot where you can see that the player is failing to fetch .ts files after loading the ms3u8 playlist.
![Screenshot from 2021-02-18 17-58-07](https://user-images.githubusercontent.com/38107177/108392737-4b683e00-7213-11eb-971f-758409ff1b0a.png)
`

**Expected behavior (required)** A clear and concise description of what you
expected to happen.

**To Reproduce (required)** Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Device (required):**

- Device: [e.g. MacBook Pro, iPhone6]
- OS: [e.g. iOS, Linux]
- Browser [e.g. Chrome, Safari]
- Version [e.g. 22]

**Screenshots (optional)** If applicable, add screenshots to help explain your
problem.

**Console logs (optional)**

```
Paste related logs [and/or](url) error messages from the console here.
Network issues, such as the cURL output from failing requests, can also be pasted here.
```

**Additional context (optional)** Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in player/index.tsx and inspect the value passed to player.load(). Reproduce with Firefox 85.0.1 using the provided VOD and active Livepeer stream URLs, then inspect network requests after the m3u8 playlist loads, especially the failing .ts files. Done means active live streams load successfully in Firefox without the player hanging.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.