Commit 26ca4f79 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Warn when attempting to record unsupported codec.

parent f4379f7a
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment