Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

connt pull file , size over 4kb #13

Open
Miracle258 opened this issue Jun 5, 2020 · 2 comments
Open

connt pull file , size over 4kb #13

Miracle258 opened this issue Jun 5, 2020 · 2 comments

Comments

@Miracle258
Copy link

hi ,great !
I used this nice art,it is so wonderful. thank you!
now,I find ,full file larger than 4KB,it failed.
message: expected at least 65536, got 4096!
how can I do it?

@Maygician
Copy link

webadb.js:623 Uncaught (in promise) Error: PULL DONE failed on /sdcard/Pictures/1642089797468.jpg
at webadb.js:623
at async pull (adbt:33)
at async test (adbt:43)
______________
getting this, while running your test.
that's
if (decode_cmd(cmd) != "DONE" || zero != 0)
this string ^
so it loads some, then fails.
what I actually want is retrieving a screenshot, so any advises are welcome
my scenario is close to rdp, so I want something like scrcpy, only with pure javascript

@Maygician
Copy link

Not sure if it's the same issue, but leaving it here.

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

No branches or pull requests

2 participants