Skip to content

Commit

Permalink
Document missing Opus encoder error
Browse files Browse the repository at this point in the history
And how to solve it.
  • Loading branch information
rom1v committed Mar 14, 2023
1 parent 6ad037e commit 4571773
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ scrcpy --audio-codec=aac
scrcpy --audio-codec=raw
```

In particular, if you get the following error:

> Failed to initialize audio/opus, error 0xfffffffe
then your device has no Opus encoder: try `scrcpy --audio-codec=aac`.


Several encoders may be available on the device. They can be listed by:

```bash
Expand Down

0 comments on commit 4571773

Please sign in to comment.