MCPcopy Create free account
hub / github.com/jetkvm/kvm / rpcGetVideoCodecPreference

Function rpcGetVideoCodecPreference

jsonrpc.go:202–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200}
201
202func rpcGetVideoCodecPreference() (string, error) {
203 return config.VideoCodecPreference, nil
204}
205
206func rpcSetVideoCodecPreference(codec string) error {
207 if codec != "auto" && codec != "h265" && codec != "h264" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected