Commit graph

596 commits

Author SHA1 Message Date
rankun
1b87d3b58b feat: optimize process steer wheel 2020-01-30 19:40:46 +08:00
rankun
b4b7b0dc25 feat: optimize keymap 2020-01-30 19:03:25 +08:00
Barry
fc77447227 Merge pull request #72 from barry-ran/dev
feat: merge dev to master
2020-01-19 23:29:56 +08:00
rankun
625e5b644e feat: update language 2020-01-19 23:26:42 +08:00
rankun
312e907603 feat: update video size 2020-01-19 23:05:18 +08:00
rankun
0713d95086 fix: remove redundant restrictmouse
grabCursor has achieved this effect
2020-01-19 22:41:40 +08:00
rankun
1895bb4b09 fix: too big 2020-01-19 22:31:54 +08:00
rankun
b39848e79f fix: switch on mouse key
1. 过滤掉开关键的非MouseButtonPress类型的事件的处理
2020-01-19 22:23:32 +08:00
rankun
7c29c2b3c6 fix: size to big 2020-01-19 22:00:14 +08:00
rankun
19223a8478 fix: screenShot
1. 隐藏未实现的功能
2. 截屏功能直接将一帧视频帧保存为jpg即可,不在controller中实现
2020-01-19 21:39:32 +08:00
rankun
22ec2eaf61 fix: updateScript bug
1. 没有及时delete m_inputConvert,持续点击更新脚本导致内存持续增长
2. 重新new m_inputConvert之后没有connect grabCursor,导致grabCursor失效
2020-01-19 21:29:36 +08:00
rankun
f0e99b5a51 fix: Key_5 is get off the car 2020-01-19 16:31:35 +08:00
rankun
cf463bddfa fix: fix conflict 2020-01-19 15:35:04 +08:00
rankun
addac5807c fix: game keymap invalid
don't send AMOTION_EVENT_ACTION_MOVE without left button press
2020-01-19 14:52:55 +08:00
rankun
b1f7611a87 feat: remove unnecessary ';' 2020-01-19 14:00:23 +08:00
rankun
5240f52c9d feat: change assert to Q_ASSERT 2020-01-19 13:43:33 +08:00
Barry
3c2cef0aaa 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
173fe3968f Merge branch 'dev' of https://github.com/barry-ran/QtScrcpy into dev 2020-01-19 00:26:11 -05:00
rankun
31efc0de25 feat: change video size to max size 2020-01-18 16:19:51 +08:00
rankun
47ce210843 fix: skin overlapping 2020-01-18 16:05:41 +08:00
rankun
09d3837052 fix: game high dpi support 2020-01-18 15:59:16 +08:00
Tian Zhou
854fe20e3a add Qt "build" directory into git ignore 2020-01-18 00:13:54 -05:00
Tian Zhou
bcfb3d6599 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
3798975793 fix: socket sync recv
Close #67
2020-01-17 16:18:25 +08:00
rankun
65d3baf427 docs: update FAQ.md 2020-01-17 13:39:15 +08:00
rankun
39eee858ff docs: update FAQ.md 2020-01-17 13:34:17 +08:00
rankun
80391d3426 chore: update publish script 2020-01-17 12:30:23 +08:00
rankun
890047f9c0 feat: update qt opengl 2020-01-17 12:11:52 +08:00
rankun
2db8a5710f docs: update docs 2020-01-16 18:33:08 +08:00
rankun
3e725e1675 feat: update config 2020-01-16 17:54:42 +08:00
rankun
c96e3ed9dd feat: add config 2020-01-16 17:08:56 +08:00
rankun
d7e9b7809f feat: sync scrcpy 2020-01-15 19:52:31 +08:00
rankun
5710b08301 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
cc433da45b 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
c957bfc798 feat: sync scrcpy 2020-01-15 10:38:27 +08:00
rankun
6cf0bf75ab feat: sync scrcpy server 2020-01-14 12:23:05 +08:00
rankun
c4bc2f3caf docs: update android server build 2020-01-07 19:09:26 +08:00
Tian Zhou
0cb58260a1 optimize the processing of stear wheel and mouse move 2019-12-09 03:10:12 -05:00
Tian Zhou
018149ee0e fix libpng warning 2019-12-09 03:08:50 -05:00
Tian Zhou
90079e83d9 1, restrict mouse in window. 2, fix mouse move bugs 2019-12-08 00:36:14 -05:00
Tian Zhou
d5b4342018 support action: drag 2019-12-06 18:44:39 -05:00
Tian Zhou
cc7988907c make the size looks better for horizontal screen 2019-11-19 03:15:12 -05:00
Tian Zhou
14fc57ced6 reduce operation delay by optimizing key-map 2019-11-19 02:46:18 -05:00
Tian Zhou
9106f04fcf fix description bugs about mapping script 2019-11-18 22:07:04 -05:00
Tian Zhou
a1e04aa376 mouse button can be used as the switch-key 2019-11-18 02:25:15 -05:00
Tian Zhou
9e3b4aec41 translate the English readme. fix bugs in the Chinese readme 2019-11-17 19:00:48 -05:00
Tian Zhou
0ae3486e5c update GUI and text. Fix translation bug 2019-11-17 18:58:11 -05:00
Tian Zhou
2a4a5c5b59 1, fix UI text. 2, add hot-load of mapping script 2019-11-12 16:35:54 -05:00
rankun
293e7f8145 feat: remove removeServer, 2019-11-12 16:30:00 +08:00
rankun
cb4858dd8f fix: english translat error
Close #49
2019-11-11 17:18:44 +08:00