Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Red5/red5-io
Browse files Browse the repository at this point in the history
  • Loading branch information
mondain committed Nov 26, 2021
2 parents 37b9a34 + 64a48af commit 64f4f89
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/red5/codec/OpusAudio.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ public class OpusAudio extends AbstractAudio {
// default to 48kHz and stereo
private int index = 0, channels = 2;

// ensure we store at least one config chunk
private volatile boolean needConfig = true;
// ensure we store at least one config chunk; default is false, since Opus doesnt require configuration
// 48k stereo is the default configuration.
private volatile boolean needConfig;

@Override
public String getName() {
Expand Down

0 comments on commit 64f4f89

Please sign in to comment.