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

MPV JSON IPC Binding: Couldn't create first pipe instance: Access is denied. (0x80070005) #1

Open
npudhota opened this issue Jul 28, 2022 · 1 comment

Comments

@npudhota
Copy link

npudhota commented Jul 28, 2022

I'm trying to get the example code to run on Windows 10, however I receive the following error.
I have confirmed that JSON IPC binding works through command prompt.

Flutter version: 3.0.5
MPV version: 0.34.0-384-gd2467f61be
Windows 10 version: 21H2
OS build: 19044.1826

Any help would be great, thanks!

Screenshot 2022-07-28 230322
Screenshot 2022-07-28 230401

@npudhota npudhota changed the title Couldn't create first pipe instance: Access is denied. (0x80070005) MPV JSON IPC Binding: Couldn't create first pipe instance: Access is denied. (0x80070005) Jul 28, 2022
@KRTirtho
Copy link
Owner

Sorry to let you know but MPV's JSON IPC uses UNIX sockets. Although Windows 10 and 11 supports UNIX sockets (via AF_UNIX) & has API exposed for it, but unfortunately Dart still doesn't support them
MPV also supports IPC through Windows NamedPipes and Dart does support NamedPipes through the win32 package, but it's too low level and is usually used or implemented by language runtimes (e.g. Node, Python) to build a high level API on top of it

In other words, mpv_dart is currently kind of limited by the capabilities of the Dart Programming Language itself, thus it only supports *nix based OS (Mac, Linux & Android)

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

2 participants