1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 20:01:56 +00:00
Commit graph

253 commits

Author SHA1 Message Date
Alberto Fanjul
189d894e22 testing device capabilities
A first tester for device P2P capabilities
2015-04-30 01:00:58 +02:00
albfan
0844d81e2a install on arch linux through AUR package 2015-04-12 11:18:13 +02:00
albfan
544758f3d2 cleanup cmake config 2015-04-12 10:34:42 +02:00
albfan
12193e473c update instructions for autotools 2015-04-11 23:50:59 +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
76b773c491 consider all files obsolete always 2015-04-11 23:25:26 +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
cafa336f5e miracle-gst.sh pass -r argument (output video resolution)
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
Andrey Gusakov
0d54cd4e0b Separate go_neg_request and provision_discovery
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
563a415a24 Accept connection only on p2p_go_neg_request
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
5aa1772240 Add P2P-GO-NEG-REQUEST handler
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
6de9b112d8 Lease IP on REQUEST if address is free
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
7d936b3cdf Do not fail if host name cannot be read over DBUS
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
026e7ea095 Set Miracle as device name if no frindly_name set
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
4d9cd01606 Do not use udev tags
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:37 +02:00
Andrey Gusakov
16d90afcd2 Remove unnecessary close body and close head
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:37 +02:00
Andrey Gusakov
066eca8638 RTSP: close message header and body on fail
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:37 +02:00
albfan
b40d416c2e specific linux flavours install steps 2015-03-29 23:27:51 +02:00
Alberto Fanjul
24369a54ff Merge pull request #13 from thopiekar/various-fixes
typing error "defualt" -> "default"
2015-03-22 18:51:28 +01:00
Thomas-Karl Pietrowski
026869dd08 typing error "defualt" -> "default" 2015-03-22 16:39:48 +00:00
Alberto Fanjul
490e809483 Merge pull request #11 from thopiekar/cmake-patches
Downgrading required CMake VERSION to 3.0

This is related with #7. it's okay to downgrade (not specific version is needed) but cmake was not working anyway.
2015-03-22 11:28:13 +01:00
albfan
cda6da3144 Allow virtual path on cmake
Remove fixed paths on CMake whom broke virtual path compilation

Relates to #7 but still not resolve it.
2015-03-22 11:25:19 +01:00
Thomas-Karl Pietrowski
c23b6df8a4 Downgrading required CMake VERSION to 3.0 2015-03-21 09:49:26 +00:00
albfan
2e933497ff cmake configuration 2015-03-13 07:54:19 +01:00
albfan
f884dd858c split monolithic Makefile.am to follow autotools standards 2015-03-08 22:16:57 +01:00
albfan
1b1751043b there's no releases url 2015-03-06 00:01:41 +01:00
albfan
bbb21f96cf better first step guide 2015-03-05 23:58:10 +01:00
albfan
028bfc3e34 Local helpers
helpers to start/stop wpa_supplicant
2015-03-05 23:34:07 +01:00
albfan
4cc81e1261 quickstart 2015-01-27 06:50:07 +01:00
albfan
740a9de080 fix view tester 2015-01-23 04:50:06 +01:00
albfan
091080b3a7 add gstreamer prerequisites 2014-11-21 22:14:39 +01:00
Alberto Fanjul
279cc7d73a tester for gstreamer viewer
miraclecast depends on gstreamer an a bunch of its plugins to show
screen mirrored. This script provides a test to confirm everything
needed is installed, and suggest another way to show streamed
source if its needed plugins are not available.
2014-09-09 12:16:12 +02:00
Alberto Fanjul
7aa483ba75 render README in markdown 2014-09-09 12:16:12 +02:00
Alberto Fanjul
12dbe6e335 avoid miracle filter on wifi devices 2014-09-09 12:16:12 +02:00
Alberto Fanjul
931cbea770 include stdio.h 2014-09-09 12:16:12 +02:00
Andrey Gusakov
5fc9133a60 sink: fix session ID extraction
Devices sometimes report sessions followed by ";timeout=..". Cut this off.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-09-03 08:44:40 +02:00
Andrey Gusakov
06d7dce2ec wifi: report formation failture if pending peer is lost
Properly notify API users if we free peers that are pending. This way,
they don't have to use timers to restart peer discovery on wpa_supplicant
failures.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-09-03 08:42:16 +02:00
Andrey Gusakov
204fa269e3 wifi: do not start new connections if one is already pending
If there is already a connection pending, don't start a new one.
Unfortunately, wpa_supplicant is unable to deal with this so we have to
enforce this.. Yuck!

We also reset the pending state during P2P_FIND now, this enables API
users to reset failed connections that wpa_supplicant was unable to close
(yeah, beacuse it's so hard to write proper APIs.. *sigh*).

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-09-03 08:39:08 +02:00
Andrey Gusakov
e79f08dd25 wifi: p2p_connect does not need display parameter
No need to add 'display' to p2p_connect commands. Drop it for future
compatibility.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-09-03 08:34:14 +02:00
Andrey Gusakov
e81f5e2833 sink: use RTSP_CODE_OK
Avoid magic numbers when creating rtsp responses, use RTSP_CODE_*
constants instead.

Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
2014-09-03 08:11:53 +02:00