mark native sync as same-domain
This commit is contained in:
@@ -305,7 +305,10 @@ type SyncSource struct {
|
||||
width, height, stride uint32
|
||||
}
|
||||
|
||||
func OpenSync(domain, videoFlow, audioFlow string) (*SyncSource, error) {
|
||||
// OpenSameDomainSync opens a native MXL synchronization group.
|
||||
// Both feeds must belong to the supplied domain because go-mxl sync groups
|
||||
// cannot contain readers from different MXL instances.
|
||||
func OpenSameDomainSync(domain, videoFlow, audioFlow string) (*SyncSource, error) {
|
||||
inst, err := mxl.NewInstance(domain, "")
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("NewInstance: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user