Commit graph

452 commits

Author SHA1 Message Date
rankun
2ef4904a5d fix: push file for chinese 2020-01-31 18:37:59 +08:00
rankun
15909bc27d feat: sdcard path to config 2020-01-31 17:48:33 +08:00
rankun
a8f79db172 feat: update ui 2020-01-31 16:30:28 +08:00
rankun
71ea24c1d7 feat: remove auto map 2020-01-31 14:46:17 +08:00
rankun
06cdb345bb feat: optimize drag and add tiktok map 2020-01-31 14:35:12 +08:00
rankun
afa5e508f8 feat: optimize process mouse move
1. revert process mouse move
2. optimize process mouse move
3. fix grabCursor bug
2020-01-31 12:58:38 +08:00
rankun
9338dcae7f feat: optimize process steer wheel 2020-01-30 19:40:46 +08:00
rankun
5c592679d4 feat: optimize keymap 2020-01-30 19:03:25 +08:00
Barry
ff02d3aefe
Merge pull request #72 from barry-ran/dev
feat: merge dev to master
2020-01-19 23:29:56 +08:00
rankun
51fe4c7d4f feat: update language 2020-01-19 23:26:42 +08:00
rankun
42e9b8c4e9 feat: update video size 2020-01-19 23:05:18 +08:00
rankun
f5e869b1c8 fix: remove redundant restrictmouse
grabCursor has achieved this effect
2020-01-19 22:41:40 +08:00
rankun
28c4c27b69 fix: too big 2020-01-19 22:31:54 +08:00
rankun
1aa5989585 fix: switch on mouse key
1. 过滤掉开关键的非MouseButtonPress类型的事件的处理
2020-01-19 22:23:32 +08:00
rankun
839311fd30 fix: size to big 2020-01-19 22:00:14 +08:00
rankun
6ff49063a5 fix: screenShot
1. 隐藏未实现的功能
2. 截屏功能直接将一帧视频帧保存为jpg即可,不在controller中实现
2020-01-19 21:39:32 +08:00
rankun
cfbe829b66 fix: updateScript bug
1. 没有及时delete m_inputConvert,持续点击更新脚本导致内存持续增长
2. 重新new m_inputConvert之后没有connect grabCursor,导致grabCursor失效
2020-01-19 21:29:36 +08:00
rankun
aad4f2a627 fix: Key_5 is get off the car 2020-01-19 16:31:35 +08:00
rankun
e98390aa98 fix: fix conflict 2020-01-19 15:35:04 +08:00
rankun
7bfc529123 fix: game keymap invalid
don't send AMOTION_EVENT_ACTION_MOVE without left button press
2020-01-19 14:52:55 +08:00
rankun
75fc1a039d feat: remove unnecessary ';' 2020-01-19 14:00:23 +08:00
rankun
eff067e5b8 feat: change assert to Q_ASSERT 2020-01-19 13:43:33 +08:00
Barry
8d0b115967
Merge pull request #71 from yxtj/dev
1, translation debug, 2, optimize customized script related logic, 3, improve mouse handling logic
2020-01-19 13:34:30 +08:00
Tian Zhou
b0d1d6ba23 Merge branch 'dev' of https://github.com/barry-ran/QtScrcpy into dev 2020-01-19 00:26:11 -05:00
rankun
2fb04bfb3c feat: change video size to max size 2020-01-18 16:19:51 +08:00
rankun
10d691718d fix: skin overlapping 2020-01-18 16:05:41 +08:00
rankun
6b811a34db fix: game high dpi support 2020-01-18 15:59:16 +08:00
Tian Zhou
66365e6e6f add Qt "build" directory into git ignore 2020-01-18 00:13:54 -05:00
Tian Zhou
7ede918fd0 Merge branch 'master' of https://github.com/barry-ran/QtScrcpy into dev
# Conflicts:
#	QtScrcpy/dialog.ui
#	README.md
2020-01-18 00:10:14 -05:00
Barry
a978c12aaf fix: socket sync recv
Close #67
2020-01-17 16:18:25 +08:00
rankun
dd3b64ca17 docs: update FAQ.md 2020-01-17 13:39:15 +08:00
rankun
f5079c9cb8 docs: update FAQ.md 2020-01-17 13:34:17 +08:00
rankun
0f8f13c7ed chore: update publish script 2020-01-17 12:30:23 +08:00
rankun
be77d61eeb feat: update qt opengl 2020-01-17 12:11:52 +08:00
rankun
610175c5ac docs: update docs 2020-01-16 18:33:08 +08:00
rankun
752163972b feat: update config 2020-01-16 17:54:42 +08:00
rankun
d0db59bf44 feat: add config 2020-01-16 17:08:56 +08:00
rankun
c9606f5a65 feat: sync scrcpy 2020-01-15 19:52:31 +08:00
rankun
c79a93c429 feat: record asynchronously
The record file was written from the stream thread. As a consequence,
any blocking I/O to write the file delayed the decoder.

For maximum performance even when recording is enabled, send
(refcounted) packets to a separate recording thread.
2020-01-15 14:07:59 +08:00
rankun
65a7cb7467 feat: Reduce latency by 1 frame
To packetize the H.264 raw stream, av_parser_parse2() (called by
av_read_frame()) knows that it has received a full frame only after it
has received some data for the next frame. As a consequence, the client
always waited until the next frame before sending the current frame to
the decoder!

On the device side, we know packets boundaries. To reduce latency,
make the device always transmit the "frame meta" to packetize the stream
manually (it was already implemented to send PTS, but only enabled on
recording).

On the client side, replace av_read_frame() by manual packetizing and
parsing.

<https://stackoverflow.com/questions/50682518/replacing-av-read-frame-to-reduce-delay>
<https://trac.ffmpeg.org/ticket/3354>
2020-01-15 12:34:44 +08:00
rankun
2cd5c74237 feat: sync scrcpy 2020-01-15 10:38:27 +08:00
rankun
a26620fb8d feat: sync scrcpy server 2020-01-14 12:23:05 +08:00
rankun
2c2ad2ab07 docs: update android server build 2020-01-07 19:09:26 +08:00
Tian Zhou
d276e221db optimize the processing of stear wheel and mouse move 2019-12-09 03:10:12 -05:00
Tian Zhou
c279a170a9 fix libpng warning 2019-12-09 03:08:50 -05:00
Tian Zhou
ac371eef69 1, restrict mouse in window. 2, fix mouse move bugs 2019-12-08 00:36:14 -05:00
Tian Zhou
8412abb553 support action: drag 2019-12-06 18:44:39 -05:00
Tian Zhou
3fcfa64447 make the size looks better for horizontal screen 2019-11-19 03:15:12 -05:00
Tian Zhou
d6868d2df5 reduce operation delay by optimizing key-map 2019-11-19 02:46:18 -05:00
Tian Zhou
e81fa8714c fix description bugs about mapping script 2019-11-18 22:07:04 -05:00