1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-13 19:21:56 +00:00
Commit graph

344 commits

Author SHA1 Message Date
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
Derek Dai
6bcfe4e541
miracle-wfdctl-demo: add an optional argument to specify link index of
NetworkManager
2017-02-13 17:46:06 +08:00
Derek Dai
e679b5fc26
add debian support prepared by Guo Shuang 2017-02-13 13:17:30 +08:00
Derek Dai
81d735f7b9
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.
2017-02-13 13:12:56 +08:00
Derek Dai
fa9f4ab555
ignore .vimrc from being managed by git 2017-02-13 13:12:56 +08:00
Derek Dai
e70a976614
miracle-wfdctl-demo: cleanup before exit 2017-02-13 13:12:56 +08:00
Derek Dai
63b5482681
miracle-*ctl: update links and peers when wifid up or down 2017-02-13 13:12:56 +08:00
Derek Dai
01edf8001f
miracle-wfdctl-demo: wait for property chainging and object apperance by
busctl instead of sleep
2017-02-13 13:12:55 +08:00
Derek Dai
c590adbd2f
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.
2017-02-13 13:12:55 +08:00
Derek Dai
45e7fea3e5
miracle-srcctl: rename ctl_src to wfd_src 2017-02-13 13:12:55 +08:00
Derek Dai
00e1afc3e9
remove vim settings from files 2017-02-13 13:12:55 +08:00
Derek Dai
4d47aa4d53
miracle-*ctl: rename resolution_bitmap to wfd_resolution and add progressive field 2017-02-13 13:12:55 +08:00
Derek Dai
20b14da0b5
miracle-*ctl: remove N_ELEMENTS() and use SHL_ARRAY_LENGTH() instead 2017-02-13 13:12:55 +08:00
Derek Dai
8381290479
miracle-wifid: let the format of wfd_dev_info compliant with wfd_subelems to ease parsing 2017-02-13 13:12:55 +08:00
Derek Dai
7ea9305172
miracle-*ctl: fix label leak 2017-02-13 13:12:55 +08:00
Derek Dai
14041bd968
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.
2017-02-13 13:12:54 +08:00
Derek Dai
cfc98095d1
miracle-*ctl: remove some debugging log messages 2017-02-13 13:12:54 +08:00
Derek Dai
f47669a59b
miracle-wfdctl: init commit 2017-02-13 13:12:54 +08:00
Derek Dai
df336c8c51
miracle-wifid: add MACAddress property to link 2017-02-13 13:12:54 +08:00
Derek Dai
1919de3158
miracle-srcctl: fix some warming 2017-02-13 13:12:54 +08:00
Derek Dai
853152cb9c
miracle-wifid: remove duplicated link & peer dbus nodes by checking prefix 2017-02-13 13:12:54 +08:00
Derek Dai
c5a4bf0457
miracle-wifid: add dbus & systemd service files to support dbus activation 2017-02-13 13:12:54 +08:00
Xu Fasheng
7d7df75bc9
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.
2017-02-13 13:12:54 +08:00
Derek Dai
d239c528ff
miracle-srcctl: fix memory management issues 2017-02-13 13:12:54 +08:00
Derek Dai
20ff174fe8
stop sender properly after session end 2017-02-13 13:12:53 +08:00
Derek Dai
d8d538ef65
encode video with x264enc temperarily to prevent decoding issue on dongle 2017-02-13 13:12:53 +08:00
Derek Dai
03744ba53b
rename dbus name back to org.freedesktop.miracle.Sender and variety kinds of tunning 2017-02-13 13:12:53 +08:00
Derek Dai
91e1ee29ec
miracle-wifid: fix call waitid() with NULL pointer issue reported by valgrind 2017-02-13 13:12:53 +08:00
Derek Dai
12cef6e0fc
gstplayer: set sync=false to reduce latency 2017-02-13 13:12:53 +08:00
Derek Dai
eb5c563a8d
miracle-sender: change bus name from org.freedesktop.miracle.Sender to org.freedesktop.miracle 2017-02-13 13:12:53 +08:00
Derek Dai
e1307f0636
stability: increase gcc warning level 2017-02-13 13:12:53 +08:00