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

156 commits

Author SHA1 Message Date
Derek Dai
b3b51120e0
source implement + sender talk via dbus 2017-02-13 13:12:53 +08:00
Derek Dai
fb37a53dec
stop sender when peer freed 2017-02-13 13:12:52 +08:00
Derek Dai
047775303b
integrate miracle-sender with miracast-srcctl 2017-02-13 13:12:52 +08:00
Derek Dai
8a935e1893
initial sender implementation 2017-02-13 13:12:52 +08:00
Derek Dai
5c501c0594
init source side implementation 2017-02-13 13:12:52 +08:00
Derek Dai
c76667cf71
match resolution from high to low 2017-02-13 13:12:52 +08:00
Derek Dai
b6d372eae4
calculate array size of resolutions at build time instead of tailing null element 2017-02-13 13:12:52 +08:00
Derek Dai
5f39158f45
init copy & modify 2017-02-13 13:12:52 +08:00
Derek Dai
2a3796cfe9
fix byte order of DHCP_SERVER_ID option
If miraclecat is GO, miracle-dhcp runs as server, it send out SERVER_ID
option in little endian, causes non-GO peer connect to wrong IP address, so
RTSP connection can't be established.

In scenario like, say Android (GO) <-> miracalcast (non-GO), the DHCP service
is provided by Android, in this case, the SERVER_ID is in expected byte order
(big endian).
2017-02-13 13:12:48 +08:00
Alberto Fanjul
e5795edd04 Read UIBC capability in raw mode
Some devices send its UIBC capabilities with spaces. Read in raw mode to parse port correctly
2016-10-28 11:37:16 +02:00
albfan
cedfeeebe1 Debug GStreamer execution
Allow to config gstreamer log level
2016-10-23 10:20:12 +02:00
albfan
472fbf4a24 Check source UIBC capability
If source has no UIBC capability don't try to connect UIBC controller,
and listen UIBC setting to disable UIBC

relates to #115
2016-10-23 09:46:02 +02:00
albfan
5e93ad0638 Fix compilation warnings 2016-10-23 04:27:17 +02:00
albfan
cd23da3c74 Fix finding subnet 2016-10-01 12:29:48 +02:00
Derek Dai
3886dcb7c7 add option --use-dev to miracle-wifid to workaround the 'no ifname' issue 2016-09-14 16:01:54 +08:00
Derek Dai
a9266e5055 re-dispatch wpa_message with ifname!=NULL from supplicant_global_fn() to supplicant_dev_fn() 2016-09-14 15:01:26 +08:00
Derek Dai
1cc667a00c don't modify raw message 2016-09-14 15:01:26 +08:00
albfan
36be37ed8b Fix wpa_supplicant search when path did not exists 2016-08-26 06:29:34 +02:00
Derek Dai
4601514799 find wpa_supplicant through PATH instead of option --wpa-bindir 2016-08-15 17:35:38 +08:00
Alberto Fanjul
7228c3e63d Change to support CI environment 2016-07-23 20:20:58 +02:00
albfan
412ce067b6 Use resolution provided to resize viewer 2016-07-23 19:15:38 +02:00
albfan
3f2266e254 Kill uibc viewer subprocess
closes #93
2016-07-16 15:29:13 +02:00
albfan
1e69dd6dae UIBC support
Basic support for UIBC (single mouse events and key events)

 - Option --uibc on miracle-sinkctl to enable it
 - Option --log-journal-level to see player execution on journalctl
 - Controller for uibc miracle-uibcctl
 - Player based on PyGtk to receive and communicate mouse and keyevents

closes #57
2016-07-02 15:47:15 +02:00
albfan
4637409d0b relay on PATH to find executables 2016-07-02 15:22:13 +02:00
albfan
c94be167c8 open UIBC connection
relates to #57
2016-04-02 13:15:38 +02:00
albfan
5440572335 Version 1.0 2016-01-24 20:54:40 +01:00
albfan
117ed2071b Parse text log level
closes #42
2015-08-30 14:53:12 +02:00
albfan
73adee82bf Select interface to use
Start miraclecast against interface of choose.

- By tagged udev device
- By `--interface` or `-i` option

resolves #36, resolves #43, resolves #46
2015-08-30 11:20:41 +02:00
albfan
0bf42867ad log wpa messages 2015-08-22 16:48:51 +02:00
albfan
781231db26 comment avaliable prov methods
Use only pbc method, but keep commented all available methods
2015-08-22 12:18:46 +02:00
albfan
81e71c8387 ignored wpa events
relates to #37
2015-07-29 20:33:27 +02:00
albfan
80aefc1611 config udev tag
relates to #36
2015-07-29 20:27:51 +02:00
albfan
30459133ed prov type for default config 2015-07-29 20:18:01 +02:00
albfan
bc1705d82c remove commented code 2015-07-29 20:18:01 +02:00
albfan
de76677bf8 manage prov type 2015-07-29 20:18:01 +02:00
albfan
756535a61d vtable callback changes
relates #35
2015-07-28 20:14:27 +02:00
albfan
b0f985069c change callback interface
resolves #30
2015-07-04 05:06:26 +02:00
albfan
544758f3d2 cleanup cmake config 2015-04-12 10:34:42 +02:00
albfan
d45cb7ef3a Merge branch 'cmake' 2015-04-11 23:31:16 +02:00
albfan
9a3a2abeab remove redundant path on include 2015-04-11 23:29:35 +02:00
albfan
8484a126be fix cmake compilation
closes #7
2015-04-11 23:11:52 +02:00
albfan
8b61f733da avoid miracle filter on wifi devices 2015-03-30 13:41:30 +02:00
albfan
640f731d44 Merge branch 'agusakov' 2015-03-30 13:40:52 +02:00
Andrey Gusakov
2fac0f0ea9 Notice sinkctl if pending peer fails to connect/disconnects
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
1a86754573 Show timeout error
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
c1b476146c RTSP: reply with only requested parameters
Some peers (like Nexus 5 and Nexus 7) send empty GET_PARAMETER
request during streaming. Seems it just some kind of ping. Do not
include unnecessary information in reply.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
62460a9e89 RTSP: parse SET_PARAMETER resolution
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
ca07b34f3b RTSP: support reading hex and skiping
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
c6334a7509 Allow to set resolution mask from command line
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
9be88e46bf Add WFD defines and helpers
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00