Squash integration of the reviewed Go core, frontend audit fixes, release tooling, and deployment hygiene. CI passed all Server/Client jobs.
16 lines
374 B
Go
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)
|
|
}
|