mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Fix codec check in rtpwriter.
This commit is contained in:
parent
f8e2f755d6
commit
f7048e4dae
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ func rtpWriterLoop(writer *rtpWriter, up *rtpUpConnection, track *rtpUpTrack) {
|
|||
if kfNeeded > kfUnneeded {
|
||||
kf := false
|
||||
kfValid := false
|
||||
switch codec.MimeType {
|
||||
switch strings.ToLower(codec.MimeType) {
|
||||
case "video/vp8":
|
||||
kf = isVP8Keyframe(&packet)
|
||||
kfValid = true
|
||||
|
|
Loading…
Reference in a new issue