Skip to content

Commit

Permalink
Workaround for ringer off with hardware switch on iOS
Browse files Browse the repository at this point in the history
Plays a single frame of silent audio MP3 from an <audio>
when initializing the Web Audio context. This ensures that
the audio mixer sends output to the media channel, not the
ringer channel, avoiding being muted.

Resolves #600
  • Loading branch information
bvibber committed Apr 6, 2022
1 parent ad2cae3 commit 561757d
Show file tree
Hide file tree
Showing 6 changed files with 8,609 additions and 37 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Based around libogg, libvorbis, libtheora, libopus, libvpx, libnestegg and dav1d

1.8.9 - ????-??-??
* Bump yuv-canvas to 1.2.11, further perf improvments for frame drawing
* Workaround gets audio working when ringer is disabled by iOS hardware switch

1.8.8 - 2022-04-04
* Bump yuv-canvas to 1.2.10, fixes WebGL scaling bug in Netscape/macOS; adjustment to prior performance tweaks.
Expand Down
Loading

0 comments on commit 561757d

Please sign in to comment.