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

381 commits

Author SHA1 Message Date
Derek Dai
95614e1136 reorganize demo, make it looks like running in sequential instead of trigger by async events 2018-11-07 00:50:36 +01:00
Derek Dai
9334ec0a7e add a demostration for wifid + dispd 2018-11-07 00:50:36 +01:00
Derek Dai
0fceb2b1f0 miracle-wfdctl: fix pointer check issue 2018-11-07 00:50:36 +01:00
Derek Dai
0a1139401b change argument types of wfd_sink_start_session()
To workaround valac issue
2018-11-07 00:50:36 +01:00
Derek Dai
f0920c4c79 rename miracle-wfdctl to miracle-dispd 2018-11-07 00:50:36 +01:00
Derek Dai
dbd560571b miracle-wfdctl: encode audio with voaacenc instead of avenc_aac to get
closer to WFD spec
2018-11-07 00:50:36 +01:00
Derek Dai
f2457b3137 miracle-wfdctl: handle gst messages and reflect state onto session 2018-11-07 00:50:36 +01:00
Derek Dai
fa650b8391 miracle-wfdctl: do not expose rtsp_message_id_to_string() to outside
world
2018-11-07 00:50:36 +01:00
Derek Dai
5622b2bd5b miracle-wfdctl: remove extra NULL parameter 2018-11-07 00:50:36 +01:00
Derek Dai
8c4051ea51 update dependency information 2018-11-07 00:50:36 +01:00
Derek Dai
d5c572eacd miracle-wfdctl: save captured packets to .pcap file instead of print out
on console
2018-11-07 00:49:30 +01:00
Derek Dai
5d0ce929f9 miracle-wfdctl: disable audio encoding temparary 2018-11-07 00:49:30 +01:00
Derek Dai
b69d8108f9 miracle-wfdctl: fine tune codec to compliant with WFD spec + H264
profile/level
2018-11-07 00:49:30 +01:00
Derek Dai
c419e02b20 miracle-wfdctl: set ximagesrc as live mode to prvent it preroll in pause
state
2018-11-07 00:49:30 +01:00
Derek Dai
8a7e3e0310 miracle-wrdctl-demo: capture packets on p2p wnic with tshark instead of
tcpdump
2018-11-07 00:49:30 +01:00
Derek Dai
93aaa4bb98 miracle-wfdctl: reply rtsp request with date header in locale
en_US.UTF-8
2018-11-07 00:49:30 +01:00
Derek Dai
89fbc48662 update dependencies of systemd services 2018-11-07 00:49:30 +01:00
Derek Dai
59ad8fb45a miracle-wfdctl: send video only stream if no audio device specified 2018-11-07 00:49:30 +01:00
Derek Dai
418362997b miracle-wfdctl: fix argument passing for ximagesrc 2018-11-07 00:49:30 +01:00
Derek Dai
3a569ec423 miracle-wfdctl: fine tune gstreamer pipeline 2018-11-07 00:49:30 +01:00
Derek Dai
1ca5a8f5b1 miraclw-wfdctl: now you can cast only specified xid or xname to sink 2018-11-07 00:49:30 +01:00
Derek Dai
769c9a2c38 miraclw-wfdctl: fix typo of dbus signal names 2018-11-07 00:49:30 +01:00
Derek Dai
c049435f00 miracle-wfdctl: set XAUTHORITY and DISPLAY before create gstreamer
pipeline, and now we can pass device name to pulseaudio
2018-11-07 00:49:30 +01:00
Derek Dai
0a09df0e94 fix typo in miracle-wifid.service 2018-11-07 00:49:30 +01:00
Derek Dai
1fd7aeb1f5 miracle-wfdctl: fix sink removal notifcation 2018-11-07 00:49:30 +01:00
Derek Dai
4d95556830 miracle-wfdctl: fix variety kinds of dbus interface issues 2018-11-07 00:49:30 +01:00
Derek Dai
d71f395f1e miracle-wfdctl: fix session removal dbus notification 2018-11-07 00:49:30 +01:00
Derek Dai
da3870b372 miracle-wfdctl: add rtcp and audio supporting to gstreamer pipeline 2018-11-07 00:49:30 +01:00
Derek Dai
e5c2ce7f21 miracle-wfdctl: include header <gst/gst.h> for resolving compiler warning 2018-11-07 00:49:30 +01:00
Derek Dai
d2138843c0 miracle-wifid: change managed property of link by method call instead of
set property due to wpa_supplicant needs time to get ready
2018-11-07 00:49:30 +01:00
Derek Dai
12160ed90f miracle-wfdctl-demo: run tcpdump with sudo 2018-11-07 00:49:30 +01:00
Derek Dai
e6295bdde3 miracle-wfdctl: encoding video stream with gstreamer library instead of
gst-launch-1.0
2018-11-07 00:49:30 +01:00
Derek Dai
eb7e114c0b miracle-wfdctl: integrate sd_event with GMainLoop for running gstreamer
in process instead of fork n exec gst-launch
2018-11-07 00:49:30 +01:00
Derek Dai
6a045635bc since we relaxed the permissions to talk to wifid and wfdctl, so there is
no need to run miracle-wfdctl-demo with sudo. but to kill these two
privileged services, the killall still need sudo
2018-11-07 00:48:41 +01:00
Derek Dai
d5ca4939ea relax permissions checking to let non-privileged use miracalcast.
we will enhance this by fine grained permission conrol latter.
2018-11-07 00:48:41 +01:00
Derek Dai
7d41663ece add compiler flag to do sanity check of undefined behaviours. 2018-11-07 00:48:41 +01:00
Derek Dai
11da584378 miracle-wfdctl: remove unused Range header from reply 2018-11-07 00:48:41 +01:00
Derek Dai
08780b3e3d miracle-wfdctl: do not launch gstreamer if DO_NOT_LAUNCH_GST environment
variable is set while miracle-wfdctl running
2018-11-07 00:48:41 +01:00
Derek Dai
63e3d2d760 miracle-wfdctl: change session type from uint64_t to unsigned int 2018-11-07 00:48:41 +01:00
Derek Dai
8d0f15bf0b miracle-wfdctl: fix typo in systemd service file 2018-11-07 00:48:41 +01:00
Derek Dai
899497dda3 miracle-wfdctl: user now can select video mode through DBus interface 2018-11-07 00:48:41 +01:00
Derek Dai
c3a973e529 miracle-wfdctl: compare wfd-standby and wfd-idr-request by message body 2018-11-07 00:48:41 +01:00
Derek Dai
378b229c30 miracle-wfdctl: delay for 100ms before start sending stream to sink 2018-11-07 00:48:41 +01:00
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