1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-14 04:35:57 +01:00

Warn when attempting to record unsupported codec.

This commit is contained in:
Juliusz Chroboczek 2020-12-25 21:04:17 +01:00
parent f4379f7a8c
commit 26ca4f7969

View file

@ -270,6 +270,10 @@ func newDiskConn(client *Client, directory, label string, up conn.Up, remoteTrac
), ),
) )
conn.hasVideo = true conn.hasVideo = true
default:
client.group.WallOps(
"Cannot record codec " + codec.MimeType,
)
} }
track := &diskTrack{ track := &diskTrack{
remote: remote, remote: remote,