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