[ios-live-streaming] Unable to switch to front camera on low spec devices due to hard wired AVCaptureSession
@philcluff is already working on this.
Since Mar 1, 2021.
Assessment
This issue has not been assessed yet.
Description
Today, we use a fixed AVCaptureSession:
.sessionPreset: AVCaptureSession.Preset.hd1920x1080,
This means that if you're trying to use an iPhone 6/6s/6+, you're unable to use the front camera, as they only have 720p front cameras.
We should pick a session preset that's limited by the worst camera on the device instead.
The table on this SO answer should be useful: https://stackoverflow.com/questions/19422322/method-to-find-devices-camera-resolution-ios
- Dominant language
- TypeScript
- Stars
- 116
- Forks
- 68
- Avg merge
- 17h 45m
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 muxinc/examples
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nicobailon/pi-subagents#3420 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
openwatersio/slackwater.xyz#309 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
navikt/nav-enonicxp-frontend#3122 ·
Maintainers usually reply within 1 day
-
complexity → simple frontend performance
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opencollective/opencollective#9200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day