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

[ios]: HLS (m3u8) vs mp4 - very high energy impact + thermal throttling (display brightness dimming)

Open
#95 5 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
313
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Hi,

I did some energy impact testing and also noticed that when I am using HLS vs mp4, mp4 consumes way less CPU (which is kinda expected since it does have less Network and parsing overhead), but my iPhone 13 Pro Max heats up pretty heavy, thermal state jumps from nominal to serious and the energy impact is super high.

## Test device
- iPhone 13 Pro Max
- iOS 16

## mp4
Bildschirmfoto 2022-09-26 um 21 17 05

## HLS
Bildschirmfoto 2022-09-26 um 21 00 15

Is there a way to make IVS more battery friendly? My streams just have 2 qualities (480p and 720p).

The screenshot with better energy consumption was achieved with mp4 instead of HLS.

I really couldn't find much information around that.

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.