Files
piik/internal/client/nativehost/profile.go
T
AAA da47189fc3 refactor: unify Go runtime and audited frontend
Squash integration of the reviewed Go core, frontend audit fixes, release tooling, and deployment hygiene. CI passed all Server/Client jobs.
2026-09-06 23:26:01 +08:00

16 lines
374 B
Go

package nativehost
import "github.com/TNTcraftHIM/Screener/internal/client/nativecapture"
type QualityProfile struct {
Video nativecapture.VideoProfile
AudioBitrate int
}
func (profile QualityProfile) Valid() bool {
return profile.Video.Valid() &&
(profile.AudioBitrate == 64_000 ||
profile.AudioBitrate == 128_000 ||
profile.AudioBitrate == 192_000)
}