enable red by default (#940)

* enable red by default

* fix test case
This commit is contained in:
cnderrauber
2022-08-22 17:40:12 +08:00
committed by GitHub
parent a118d21af0
commit c20a91d2b2
5 changed files with 10 additions and 2 deletions
+1
View File
@@ -235,6 +235,7 @@ func NewConfig(confString string, c *cli.Context) (*Config, error) {
AutoCreate: true,
EnabledCodecs: []CodecSpec{
{Mime: webrtc.MimeTypeOpus},
{Mime: "audio/red"},
{Mime: webrtc.MimeTypeVP8},
{Mime: webrtc.MimeTypeH264},
// {Mime: webrtc.MimeTypeAV1},