Commit graph

387 commits

Author SHA1 Message Date
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
Tian Zhou
370dfbc520 mouse button can be used as the switch-key 2019-11-18 02:25:15 -05:00
Tian Zhou
767e9ba5b1 translate the English readme. fix bugs in the Chinese readme 2019-11-17 19:00:48 -05:00
Tian Zhou
bb42fbbe26 update GUI and text. Fix translation bug 2019-11-17 18:58:11 -05:00
Tian Zhou
8e3b37e974 1, fix UI text. 2, add hot-load of mapping script 2019-11-12 16:35:54 -05:00
rankun
d6d4edf936 feat: remove removeServer, 2019-11-12 16:30:00 +08:00
rankun
1d8cb0dd56 fix: english translat error
Close #49
2019-11-11 17:18:44 +08:00
rankun
12b427d1c0 docs: update faq 2019-11-11 17:00:00 +08:00
rankun
3f8201abe2 docs: set en readme default 2019-11-11 16:40:45 +08:00
rankun
294820281e docs: update FAQ.md 2019-10-25 13:30:22 +08:00
rankun
4679e196fa docs: change docs to docs dir 2019-10-25 13:22:28 +08:00
rankun
a757f99281 docs: update README_EN.md 2019-10-25 13:17:18 +08:00
rankun
30bba9bbce fix: get device port error on linux 2019-10-20 19:38:26 +08:00
rankun
02857db1ab Merge branch 'master' of gitee.com:Barryda/QtScrcpy 2019-09-26 11:07:03 +08:00
rankun
bb38988b3d docs: update todo 2019-09-26 11:01:29 +08:00
rankun
c2242e5ace feat: update mac version info 2019-09-26 10:57:48 +08:00