Apply uStreamer workarounds on a more granular level
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 50/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start in app/templates/custom-elements/remote-screen.html, especially the remote-screen element and its current /stream?advance_headers=1 source. Add browser-based source selection matching the Firefox, Chrome, and Safari cases in the issue, then verify that each browser receives only its specified workaround.
Written by the indexing model from the issue text.
Description
Several browsers have bugs that prevent them from rendering MJPEG properly, and uStreamer has two separate workarounds:
advance_headers: For Chrome/Blinkdual_final_frames: For Safari/WebKit
We're currently applying the advance_headers workaround regardless of what browser the user is running. We briefly added a second workaround in #796 but reverted it in #801.
We should use JavaScript to detect the client's browser and only apply the specific workaround for that browser. So we'd dynamically generate the src attribute for remote-screen <img> element depending on the browser:
Firefox
/stream (no workarounds)
Chrome
/stream?advance_headers=1
Safari
/stream?dual_final_frames=1
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tiny-pilot/tinypilot
-
bug medium
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
tiny-pilot/tinypilot#1419 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
tiny-pilot/tinypilot#1929 · 3 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tiny-pilot/tinypilot#1899 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
tiny-pilot/tinypilot#1882 ·
All issues in tiny-pilot/tinypilot
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100