1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00
Commit graph

338 commits

Author SHA1 Message Date
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
Derek Dai
078451e532 miracle-*ctl: update links and peers when wifid up or down 2018-11-07 00:47:22 +01:00
Derek Dai
a8e9e5fbfc miracle-wfdctl-demo: wait for property chainging and object apperance by
busctl instead of sleep
2018-11-07 00:47:22 +01:00
Derek Dai
f0ba87dbe3 miracle-wfdctl: first revision which can create TCP connection of WFD session between peers, controled through DBus
In this revision, the procedure of session negotiation is not yet
completed but only TCP connection can be established between peers.

You can try it by run script `res/miracle-wfdctl-demo` to see how it
work.
2018-11-07 00:47:22 +01:00
Derek Dai
94561157fb miracle-srcctl: rename ctl_src to wfd_src 2018-11-07 00:46:16 +01:00
Derek Dai
891db5ded2 remove vim settings from files 2018-11-07 00:46:16 +01:00
Derek Dai
662741c868 miracle-*ctl: rename resolution_bitmap to wfd_resolution and add progressive field 2018-11-07 00:45:52 +01:00
Derek Dai
e365ac30f6 miracle-*ctl: remove N_ELEMENTS() and use SHL_ARRAY_LENGTH() instead 2018-11-07 00:44:56 +01:00
Derek Dai
fbc0c7faf3 miracle-wifid: let the format of wfd_dev_info compliant with wfd_subelems to ease parsing 2018-11-07 00:42:36 +01:00
Derek Dai
0bcd71400e miracle-*ctl: fix label leak 2018-11-07 00:42:36 +01:00
Derek Dai
a5ec2549bb miracle-*ctl: resolve object parsing issue in ctl_wifi_fetch()
while parsing ctl_peer and ctl_link objects, if a ctl_peer appear prior
to its related ctl_link, -EINVAL is reported, and miracle-*ctl will quit
immediately.
2018-11-07 00:42:36 +01:00
Derek Dai
c28ec61edc miracle-*ctl: remove some debugging log messages 2018-11-07 00:42:36 +01:00
Derek Dai
abde66f398 miracle-wfdctl: init commit 2018-11-07 00:42:36 +01:00
Derek Dai
54d393506c miracle-wifid: add MACAddress property to link 2018-11-07 00:41:44 +01:00
Derek Dai
e8ec28e96d miracle-srcctl: fix some warming 2018-11-07 00:40:45 +01:00