Commit graph

611 commits

Author SHA1 Message Date
rankun
efe8bccada feat: change screenshot icon 2020-02-01 13:31:51 +08:00
rankun
906f49b451 fix: stays on top 2020-02-01 13:08:07 +08:00
Barry
a6f3020f15 Merge pull request #74 from barry-ran/dev
merge dev to master
2020-01-31 20:54:46 -06:00
rankun
285fb030a6 feat: add config option to render expired frames
Replace the compilation flag SKIP_FRAMES by a config flag to force
rendering of expired frames. By default, the expired frames are skipped.
2020-02-01 10:50:26 +08:00
rankun
a62c057c75 docs: update TODO.md 2020-01-31 21:16:49 +08:00
rankun
9b53e7ce01 feat: add record screen checkbox 2020-01-31 21:14:33 +08:00
rankun
9f5f432316 feat: add screenshot 2020-01-31 20:47:49 +08:00
rankun
5abff3f573 feat: add server path to config 2020-01-31 19:00:10 +08:00
rankun
cfc8dcdd42 feat: get ip failed tips 2020-01-31 18:45:21 +08:00
rankun
bbe8bd07bc fix: push file for chinese 2020-01-31 18:37:59 +08:00
rankun
c45e8e4597 feat: sdcard path to config 2020-01-31 17:48:33 +08:00
rankun
eedc379614 feat: update ui 2020-01-31 16:30:28 +08:00
rankun
04f768dd8e feat: remove auto map 2020-01-31 14:46:17 +08:00
rankun
e00a3b4573 feat: optimize drag and add tiktok map 2020-01-31 14:35:12 +08:00
rankun
650f471ed7 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
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