lim1942 / django_scrcpy Goto Github PK
View Code? Open in Web Editor NEWMobile remote display and control in browser page, audio support.浏览器远程投屏控制手机
Mobile remote display and control in browser page, audio support.浏览器远程投屏控制手机
请问asynch/scrcpy-server-v2.0
这个文件是scrcpy_server.jar
吗?怎么生成的?源码在这个项目吗?
INFO: connection open 2023-06-24 13:07:39,057.57.56187438964844:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) =======> start {'audio': True, 'video_codec': 'h264', 'audio_codec': 'aac', 'max_size': 720, 'video_bit_rate': 800000, 'audio_bit_rate': 128000, 'max_fps': 25, 'tunnel_forward': True, 'crop': '', 'control': True, 'show_touches': False, 'stay_awake': True, 'video_codec_options': 'profile=1,level=2', 'audio_codec_options': '', 'video_encoder': '', 'audio_encoder': '', 'power_off_on_close': False, 'clipboard_autosync': False, 'power_on': True} 2023-06-24 13:07:39,058.58.55917930603027:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) (1).start deploy 2023-06-24 13:07:39,090.90.47341346740723:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) (2).start socket 2023-06-24 13:07:39,381.381.328821182251:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)[server] INFO: Device: samsung SM-G9860 (Android 12) 2023-06-24 13:07:39,461.461.11488342285156:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)[server] DEBUG: Using audio encoder: 'c2.android.aac.encoder' 2023-06-24 13:07:39,462.462.1124267578125:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)[server] DEBUG: Using encoder: 'OMX.qcom.video.encoder.avc' 2023-06-24 13:07:39,463.463.11068534851074:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)[server] DEBUG: Video codec option set: profile (Integer) = 1 2023-06-24 13:07:39,463.463.11068534851074:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)[server] DEBUG: Video codec option set: level (Integer) = 2 2023-06-24 13:07:39,475.475.1598834991455:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)stack corruption detected (-fstack-protector) 2023-06-24 13:07:39,481.481.1084270477295:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0)stack corruption detected (-fstack-protector) 2023-06-24 13:07:39,804.804.3951988220215:root:11472:ERROR:44212:【DeviceWebsocketConsumer】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) start session error <class 'asyncio.exceptions.IncompleteReadError'>!!! INFO: connection closed 2023-06-24 13:07:39,806.806.3905239105225:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) task cancel <Task finished name='Task-1223' coro=<DeviceClient._deploy_task() done, defined at I:\project\django_scrcpy\asynch\device.py:286> result=None> 2023-06-24 13:07:39,807.807.3875904083252:root:11472:INFO:44212:【DeviceClient】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) =======> stopped 2023-06-24 13:07:39,807.807.3875904083252:root:11472:INFO:44212:【DeviceWebsocketConsumer】(R5CN3076B8P:93106d1ba98841ff985e6d3164dfced0) =======> disconnected
能ADB连接上手机,chorme访问,也设置了Insecure origins treated as secure , 但是就访问屏幕没画面,请问如何解决
请问 如何 息屏操控 就像scrcpy 那样
I don't know that those mistakes whether or not cause this result.
/*
duration: 19
Error: no audio webcodecs support!
Traceback (most recent call last): File "./asynch/recorder.py", line 16, in accept session_id = await recorder_client.read_string_exactly(32) File "./asynch/nettool.py", line 26, in read_string_exactly return (await self.reader.readexactly(cnt)).decode(encoding) File "/usr/lib/python3.7/asyncio/streams.py", line 677, in readexactly raise IncompleteReadError(incomplete, n) asyncio.streams.IncompleteReadError: 7 bytes read on a total of 32 expected bytes
*/
有使用Vue2\Vue3做前端的计划吗?纯原生的弄起来有些麻烦...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.