1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-13 07:31:55 +00:00
Commit graph

424 commits

Author SHA1 Message Date
Derek Dai
ded0f2bada
miracle-wfdctl: fix sink removal notifcation 2017-03-07 16:16:28 +08:00
Derek Dai
e62a7f547d
miracle-wfdctl: fix variety kinds of dbus interface issues 2017-03-07 11:38:26 +08:00
Derek Dai
51cdba4d46
miracle-wfdctl: fix session removal dbus notification 2017-03-07 10:55:46 +08:00
Derek Dai
a06c0bc154
miracle-wfdctl: add rtcp and audio supporting to gstreamer pipeline 2017-03-07 10:15:02 +08:00
Derek Dai
5b7f9d29f6
miracle-wfdctl: include header <gst/gst.h> for resolving compiler warning 2017-03-06 17:36:44 +08:00
Derek Dai
0677d64252
miracle-wifid: change managed property of link by method call instead of
set property due to wpa_supplicant needs time to get ready
2017-03-06 17:29:26 +08:00
Derek Dai
3558c4e511
miracle-wfdctl-demo: run tcpdump with sudo 2017-03-03 17:18:40 +08:00
Derek Dai
9b7d2a24cc
miracle-wfdctl: encoding video stream with gstreamer library instead of
gst-launch-1.0
2017-03-03 17:15:30 +08:00
Derek Dai
c458b273b1
miracle-wfdctl: integrate sd_event with GMainLoop for running gstreamer
in process instead of fork n exec gst-launch
2017-03-03 15:40:43 +08:00
Derek Dai
0e1f3243bc
since we relaxed the permissions to talk to wifid and wfdctl, so there is
no need to run miracle-wfdctl-demo with sudo. but to kill these two
privileged services, the killall still need sudo
2017-03-03 11:27:51 +08:00
Derek Dai
cb821562ed
relax permissions checking to let non-privileged use miracalcast.
we will enhance this by fine grained permission conrol latter.
2017-03-03 08:59:37 +08:00
Derek Dai
2108b1d195
add compiler flag to do sanity check of undefined behaviours. 2017-03-03 08:52:40 +08:00
Derek Dai
2e2c789385
miracle-wfdctl: remove unused Range header from reply 2017-02-27 11:40:14 +08:00
Derek Dai
5a3f746d4d
miracle-wfdctl: do not launch gstreamer if DO_NOT_LAUNCH_GST environment
variable is set while miracle-wfdctl running
2017-02-27 11:38:59 +08:00
Derek Dai
99497fbb55
miracle-wfdctl: change session type from uint64_t to unsigned int 2017-02-27 11:37:21 +08:00
Derek Dai
05a0951525
miracle-wfdctl: fix typo in systemd service file 2017-02-26 21:31:27 +08:00
Derek Dai
c6ef0d3f69
miracle-wfdctl: user now can select video mode through DBus interface 2017-02-24 14:18:06 +08:00
Derek Dai
85c8988b38
miracle-wfdctl: compare wfd-standby and wfd-idr-request by message body 2017-02-23 16:44:35 +08:00
Derek Dai
dd6fbf70e2
miracle-wfdctl: delay for 100ms before start sending stream to sink 2017-02-23 15:43:20 +08:00
Derek Dai
155060919e
miracle-wfdctl: clarify teardown procedure of session 2017-02-23 14:20:34 +08:00
Derek Dai
b0419509b8
miracle-wfdctl: add handler for PAUSE, PLAY and TEARDOWN methods 2017-02-22 00:00:16 +08:00
Derek Dai
afbc850476
miracle-wfdctl: fix wfd_session_end() recursive calling issue 2017-02-21 22:30:39 +08:00
Derek Dai
baad70995d
miracle-wfdctl: acquire DISPLAY, XAUTHORITY and XDG_RUNTIME_DIR from
environment, instead of hardcode
2017-02-21 15:52:48 +08:00
Derek Dai
c11e7fae8b
update dependencies for debian based distro 2017-02-21 14:18:56 +08:00
Derek Dai
4c047b1886
check gcc version to ensure c11 generic select feature 2017-02-21 14:18:56 +08:00
Derek Dai
3a3ff4208d
miracle-wfctl: reply 'request not implemented' instead of abort by assert() 2017-02-21 14:17:55 +08:00
Derek Dai
bba31c7fa7
miracle-wfdctl: fix mapping from rtsp_message to rtsp_message_id 2017-02-21 11:20:59 +08:00
Derek Dai
3e41e488a5
miracle-wfdctl: print friendly name when peer shows up 2017-02-20 10:49:20 +08:00
Derek Dai
6e48e1092a
miracle_wfdctl: control flow and passing arguments with wfd_arg instead
of keep adding new structure fields
2017-02-18 23:09:45 +08:00
Derek Dai
fadcceabd8
add wfd_arg_list type of wfd_arg 2017-02-18 23:09:45 +08:00
Derek Dai
857cb11704
refactoring getter/setter for dict type of wfd_arg to remove declaration
of temp variable
2017-02-18 23:09:45 +08:00
Derek Dai
04886d862b
add support for signed and unsigned int for wfd_arg 2017-02-18 23:09:45 +08:00
Derek Dai
e020da4b24
rename macro arguement from v to _v to prevent name confliction 2017-02-18 23:09:45 +08:00
Derek Dai
d74d36a99e
miracle-wfdctl: remove unused function and improve log message for
peer new & delete
2017-02-18 23:09:44 +08:00
Derek Dai
750ff77929
miracle-*ctl: fix and enhance wfd_subelement parser 2017-02-18 23:09:44 +08:00
Derek Dai
495675cdd4
add struct wfd_arg to generalize passing of arguments 2017-02-18 23:09:40 +08:00
Derek Dai
21986b4cea
miracle-wfdctl: fix return uninitialized variable value issue 2017-02-17 16:06:02 +08:00
Derek Dai
34cc56dba8
miracle-wfdctl: run gst-launch to generate video stream with hardcoded
environment
2017-02-16 19:31:23 +08:00
Derek Dai
02e5c4beac
test compiler flag -fstack-protector-strong before set 2017-02-16 19:31:23 +08:00
Derek Dai
643b023225
miracle-wfdctl: add timeout value and Range header to the reply of PLAY request 2017-02-16 19:31:23 +08:00
Derek Dai
d4cdaf9bca
remove unused #include 2017-02-15 23:47:01 +08:00
Derek Dai
ecb8db552f
move down trap command to prevent triggered by runing with no argument 2017-02-15 23:32:52 +08:00
Derek Dai
cfcac6ae73
fix links of services for debian package 2017-02-15 23:30:49 +08:00
Derek Dai
11016d9e03
remove unused files 2017-02-15 18:37:33 +08:00
Derek Dai
9dd805378e
miracle-wfdctl: finish migration of source side rtsp protocol 2017-02-15 18:19:16 +08:00
Derek Dai
3bcb8f51f6
miracle-*ctl: add *_from_string() and *_to_string() for wfd-video-formats and
wfd-audio-codecs
2017-02-15 12:30:43 +08:00
Derek Dai
761219d998
miracle-wfdctl: return -EINVAL instead of being aborted by assert() when
rtsp message ID is invalid
2017-02-14 14:50:49 +08:00
Derek Dai
ef4a00e3ec
add miraclecast.links to create symlink for DBus activated systemd
services
2017-02-14 14:23:03 +08:00
Derek Dai
d624dc5569
add -fstack-protector-strong to capture more stack issues 2017-02-14 14:23:03 +08:00
Derek Dai
6c55a332d2
miracle-wfdctl: refactoring to remove repeated snippets and centralize the
dispatching of request and reply
2017-02-14 14:22:49 +08:00