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

318 commits

Author SHA1 Message Date
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
Derek Dai
a0ad831055 miracle-wifid: remove duplicated link & peer dbus nodes by checking prefix 2018-11-07 00:40:45 +01:00
Derek Dai
ab9243f38e miracle-wifid: add dbus & systemd service files to support dbus activation 2018-11-07 00:40:45 +01:00
Xu Fasheng
6ab22f2af5 Make miracle-wifid conexists with other network tools
The new option --lazy-managed will let miracle-wifid don't managed the
links automatically. Instead, the link will be managed only when the new
DBus property Managed was set to true. So this will be possible that
miracle-wifid could be conexists with other network tools like
networkmanager.

For example, unmange the device in networkmanager with setting the DBus
property org.freedesktop.NetworkManager.Device.Managed to false and
manage it in miracle-wifid with setting
org.freedesktop.miracle.wifi.Link.Managed to true, then both them could
works and don't need to kill each other.

Besides, there is new command named make-managed in miracle-wifictl and
miracle-sinkctla.
2018-11-07 00:40:45 +01:00
Derek Dai
f702a2394a miracle-srcctl: fix memory management issues 2018-11-07 00:30:30 +01:00
Derek Dai
191eb4dbe9 stop sender properly after session end 2018-11-07 00:30:30 +01:00
Derek Dai
56407bf32e encode video with x264enc temperarily to prevent decoding issue on dongle 2018-11-07 00:30:30 +01:00
Derek Dai
8f42ef4cbe rename dbus name back to org.freedesktop.miracle.Sender and variety kinds of tunning 2018-11-07 00:30:30 +01:00
Derek Dai
d314b90b01 miracle-wifid: fix call waitid() with NULL pointer issue reported by valgrind 2018-11-07 00:30:30 +01:00
Derek Dai
6fdaa07603 gstplayer: set sync=false to reduce latency 2018-11-07 00:30:30 +01:00
Derek Dai
1c961a73b5 miracle-sender: change bus name from org.freedesktop.miracle.Sender to org.freedesktop.miracle 2018-11-07 00:30:30 +01:00
Derek Dai
35f6002f20 stability: increase gcc warning level 2018-11-07 00:30:30 +01:00
Derek Dai
75a930b828 miracle-wifid: fix some leaks of wpas_message 2018-11-07 00:30:30 +01:00
Derek Dai
b093e9eacb source implement + sender talk via dbus 2018-11-07 00:30:30 +01:00
Derek Dai
894d821f93 stop sender when peer freed 2018-11-07 00:23:38 +01:00
Derek Dai
2186bb1b77 integrate miracle-sender with miracast-srcctl 2018-11-07 00:23:38 +01:00
Derek Dai
93daa99698 initial sender implementation 2018-11-07 00:23:38 +01:00
Derek Dai
c59f6e0879 add option [-f|--full-screen] to switch to full screen mode at start up 2018-11-07 00:23:38 +01:00
Derek Dai
41f6e50396 init source side implementation 2018-11-07 00:20:59 +01:00
Derek Dai
821b02bf10 match resolution from high to low 2018-11-07 00:20:59 +01:00
Derek Dai
4e8fd3675d calculate array size of resolutions at build time instead of tailing null element 2018-11-07 00:20:59 +01:00