Skip to content

Commit

Permalink
Enable VP8 PictureID by default
Browse files Browse the repository at this point in the history
For using in SLI.
  • Loading branch information
at-wat authored and Sean-Der committed Jul 29, 2021
1 parent a67c66a commit d544be1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mediaengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,9 @@ func payloaderForCodec(codec RTPCodecCapability) (rtp.Payloader, error) {
case strings.ToLower(MimeTypeOpus):
return &codecs.OpusPayloader{}, nil
case strings.ToLower(MimeTypeVP8):
return &codecs.VP8Payloader{}, nil
return &codecs.VP8Payloader{
EnablePictureID: true,
}, nil
case strings.ToLower(MimeTypeVP9):
return &codecs.VP9Payloader{}, nil
case strings.ToLower(MimeTypeG722):
Expand Down

0 comments on commit d544be1

Please sign in to comment.