Files
piik/native/sender/internal/windowcapture/provider_other.go
T
AAA c9ec70b294 feat(native): add WGC hardware H264 source (#109)
Adds the explicit Windows WGC/D3D11 hardware-only Media Foundation H.264 source, process-tree audio, direct Go/Pion fanout, source-aware UI/gate, and unique evaluation package helper. Browser VP8 remains the default. Local acceptance and bounded real-device evidence are recorded in the PR; GitHub jobs were billing-blocked before executing any step.
2026-08-21 05:37:29 +08:00

27 lines
574 B
Go

//go:build !windows
package windowcapture
import "context"
type unsupportedProvider struct{}
func NewProvider() Provider { return unsupportedProvider{} }
func (unsupportedProvider) List(context.Context) ([]Target, error) { return nil, ErrUnavailable }
func (unsupportedProvider) CaptureAudio(context.Context, Target, func(PCMChunk) error) error {
return ErrUnavailable
}
func (unsupportedProvider) CaptureWindow(
context.Context,
Target,
<-chan struct{},
func(PCMChunk) error,
func(H264AccessUnit) error,
func(Status) error,
) error {
return ErrUnavailable
}