Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mediadevices.GetUserMedia() failed. err: failed to open device: failed to connect filters #545

Open
sonsport opened this issue Dec 14, 2023 · 2 comments

Comments

@sonsport
Copy link

I just use the Useage TnT:

stream, err := mediadevices.GetUserMedia(mediadevices.MediaStreamConstraints{
	Video: func(constraint *mediadevices.MediaTrackConstraints) {
		// Query for ideal resolutions
		constraint.Width = prop.Int(600)
		constraint.Height = prop.Int(400)
	},
})
    if err !=nil {
         fmt.Pritnln("err:",err)    // err: failed to open device: failed to connect filters
      return
    }
@qiulin
Copy link
Contributor

qiulin commented Mar 15, 2024

seems like #347

@qiulin
Copy link
Contributor

qiulin commented Mar 16, 2024

You may need to install CCCP, https://answers.informer.com/24666/receive-combination-intermediate-filters-found-connection.

It works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@qiulin @sonsport and others