Derek Dai
|
d2138843c0
|
miracle-wifid: change managed property of link by method call instead of
set property due to wpa_supplicant needs time to get ready
|
2018-11-07 00:49:30 +01:00 |
|
Derek Dai
|
12160ed90f
|
miracle-wfdctl-demo: run tcpdump with sudo
|
2018-11-07 00:49:30 +01:00 |
|
Derek Dai
|
e6295bdde3
|
miracle-wfdctl: encoding video stream with gstreamer library instead of
gst-launch-1.0
|
2018-11-07 00:49:30 +01:00 |
|
Derek Dai
|
eb7e114c0b
|
miracle-wfdctl: integrate sd_event with GMainLoop for running gstreamer
in process instead of fork n exec gst-launch
|
2018-11-07 00:49:30 +01:00 |
|
Derek Dai
|
6a045635bc
|
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
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
d5ca4939ea
|
relax permissions checking to let non-privileged use miracalcast.
we will enhance this by fine grained permission conrol latter.
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
7d41663ece
|
add compiler flag to do sanity check of undefined behaviours.
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
11da584378
|
miracle-wfdctl: remove unused Range header from reply
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
08780b3e3d
|
miracle-wfdctl: do not launch gstreamer if DO_NOT_LAUNCH_GST environment
variable is set while miracle-wfdctl running
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
63e3d2d760
|
miracle-wfdctl: change session type from uint64_t to unsigned int
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
8d0f15bf0b
|
miracle-wfdctl: fix typo in systemd service file
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
899497dda3
|
miracle-wfdctl: user now can select video mode through DBus interface
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
c3a973e529
|
miracle-wfdctl: compare wfd-standby and wfd-idr-request by message body
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
378b229c30
|
miracle-wfdctl: delay for 100ms before start sending stream to sink
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
08b9ab7b67
|
miracle-wfdctl: clarify teardown procedure of session
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
13ca48360a
|
miracle-wfdctl: add handler for PAUSE, PLAY and TEARDOWN methods
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
a62f43454b
|
miracle-wfdctl: fix wfd_session_end() recursive calling issue
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
559d594577
|
miracle-wfdctl: acquire DISPLAY, XAUTHORITY and XDG_RUNTIME_DIR from
environment, instead of hardcode
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
6ed36f3961
|
update dependencies for debian based distro
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
d480ad5760
|
check gcc version to ensure c11 generic select feature
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
12efe915ac
|
miracle-wfctl: reply 'request not implemented' instead of abort by assert()
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
e1a3e4adca
|
miracle-wfdctl: fix mapping from rtsp_message to rtsp_message_id
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
5f68dfa948
|
miracle-wfdctl: print friendly name when peer shows up
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
5951a261f9
|
miracle_wfdctl: control flow and passing arguments with wfd_arg instead
of keep adding new structure fields
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
b6730c8814
|
add wfd_arg_list type of wfd_arg
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
4e220dfaf2
|
refactoring getter/setter for dict type of wfd_arg to remove declaration
of temp variable
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
e5d5ed55b1
|
add support for signed and unsigned int for wfd_arg
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
eaecd82bf2
|
rename macro arguement from v to _v to prevent name confliction
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
4145124678
|
miracle-wfdctl: remove unused function and improve log message for
peer new & delete
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
56d23714fb
|
miracle-*ctl: fix and enhance wfd_subelement parser
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
94df68be1b
|
add struct wfd_arg to generalize passing of arguments
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
0136f7fab1
|
miracle-wfdctl: fix return uninitialized variable value issue
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
ade875ba9c
|
miracle-wfdctl: run gst-launch to generate video stream with hardcoded
environment
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
2e23c464f9
|
test compiler flag -fstack-protector-strong before set
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
60f3b06309
|
miracle-wfdctl: add timeout value and Range header to the reply of PLAY request
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
64e355a8c2
|
remove unused #include
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
0295647f08
|
move down trap command to prevent triggered by runing with no argument
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
106ecb487f
|
fix links of services for debian package
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
7e8034b7f2
|
remove unused files
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
d63078077f
|
miracle-wfdctl: finish migration of source side rtsp protocol
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
2875f6b1a2
|
miracle-*ctl: add *_from_string() and *_to_string() for wfd-video-formats and
wfd-audio-codecs
|
2018-11-07 00:48:41 +01:00 |
|
Derek Dai
|
94c174b83f
|
miracle-wfdctl: return -EINVAL instead of being aborted by assert() when
rtsp message ID is invalid
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
0f279a06de
|
add miraclecast.links to create symlink for DBus activated systemd
services
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
2fc7a11014
|
add -fstack-protector-strong to capture more stack issues
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
14bb371d34
|
miracle-wfdctl: refactoring to remove repeated snippets and centralize the
dispatching of request and reply
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
739b44e138
|
miracle-wfdctl-demo: add an optional argument to specify link index of
NetworkManager
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
98ab9ca752
|
add debian support prepared by Guo Shuang
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
a0607fca95
|
miracle-wfdctl: now we can establish WFD session multiple times
in this revision, the source side RTSP protocol is not implemented
completely, the focus is on stability, DBus interfaces.
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
69d613b52c
|
ignore .vimrc from being managed by git
|
2018-11-07 00:48:06 +01:00 |
|
Derek Dai
|
6ebd9cbc12
|
miracle-wfdctl-demo: cleanup before exit
|
2018-11-07 00:47:22 +01:00 |
|