Commit Graph

64 Commits

Author SHA1 Message Date
fduncanh
4b18df57e8 cosmetic 2021-08-04 18:50:10 -04:00
fduncanh
8e6a9ca795 listen to the gstreamer bus for errors, then terminate correctly 2021-08-04 18:36:20 -04:00
fduncanh
7a60e958b2 revert setting stop_server() as static, it should eventually be
used non statically  if the gstreamer  display window is closed.
2021-08-04 04:09:15 -04:00
fduncanh
23db8faae7 add static descriptor to functions in uxplay.cpp 2021-08-04 01:28:11 -04:00
fduncanh
c04eebc599 cosmetic change "display size" to "display resolution" in -h text 2021-08-04 00:45:10 -04:00
fduncanh
2be2a45878 clear std:string mac_address after use is finished, as it remains in scope 2021-08-03 23:56:48 -04:00
fduncanh
a3ebb64d0c minor change to random_mac() 2021-08-03 23:24:55 -04:00
fduncanh
d30bc46e00 cleaner implementation of random_mac{} 2021-08-03 23:19:46 -04:00
fduncanh
dc7dfc81d0 cleare version of get_videoflip 2021-08-03 21:26:29 -04:00
fduncanh
9f47a9f5c3 add comment 2021-08-03 19:24:13 -04:00
fduncanh
af83e7d82e add comment 2021-08-03 19:21:56 -04:00
fduncanh
792d2ec5dd whitespace 2021-08-03 19:14:46 -04:00
fduncanh
b797bb6610 cleaner get_lowest_port() 2021-08-03 19:11:07 -04:00
fduncanh
97ed219330 whitespace cleanups 2021-08-03 18:54:29 -04:00
fduncanh
f08fccf725 whitespace cleanups 2021-08-03 18:50:11 -04:00
fduncanh
18153f029f cleaner get_display_size(), + whitespace fixes 2021-08-03 18:37:15 -04:00
fduncanh
3efc10f637 cEdited README.md 2021-08-03 16:35:30 -04:00
fduncanh
ba4552d3f7 edited README.md 2021-08-03 16:33:36 -04:00
fduncanh
35aff0f7b3 changes to README.md 2021-08-03 16:18:21 -04:00
fduncanh
4cc284ebb3 allow the changed display name = server_name behavior without applyiong ZOOMFIX 2021-08-03 16:11:19 -04:00
fduncanh
467d4c8500 cosmetic change 2021-08-03 06:16:20 -04:00
fduncanh
11ccb6ed12 html -http in discussion of lib llhttp 2021-08-03 06:11:34 -04:00
fduncanh
4a36d6ed0b finalizing documentation in README.md 2021-08-03 05:53:02 -04:00
fduncanh
bb823c241b finalizing the documentation uodate 2021-08-03 05:41:03 -04:00
fduncanh
8009ed533d cosmetic cleanups 2021-08-03 05:08:11 -04:00
fduncanh
b8d77ae71d comment out unused variables detected by -W_unused_variable
type_d in raop_rtp.c
payload_option, nalu_type in raop_rtp_mirror.c
2021-08-03 03:32:11 -04:00
fduncanh
01fcd1303d fix siwtch again 2021-08-03 02:35:39 -04:00
fduncanh
3d8d938940 fix compiler warning, misplaced static declaration 2021-08-03 02:26:29 -04:00
fduncanh
061391f04c update README.md 2021-08-03 02:22:51 -04:00
fduncanh
e8524b55d2 fix compiler warning, misplaced static declaration 2021-08-03 02:18:17 -04:00
fduncanh
08fd2d6ace fix compiler warning in switch 2021-08-03 02:03:01 -04:00
fduncanh
64dfe9c8ef update README.md 2021-08-02 19:03:36 -04:00
fduncanh
f0070c065d add the -f videoflip option, modeled on flip and rotate in RPiPlay 2021-08-02 18:42:22 -04:00
fduncanh
5166d050ba move David Venturas X code to x_display_fix.h 2021-08-02 05:59:22 -04:00
fduncanh
8829e458d7 clean up -s (display size) code 2021-08-02 04:01:07 -04:00
fduncanh
622398d901 added -r option for generating a random hardware (MAC) address:
(this allows multiple copies of uxplay to run)
2021-08-02 02:16:54 -04:00
fduncanh
44e2221107 Add option -p [n] for setting network ports (use behind a firewall) (part 2) 2021-08-02 00:36:38 -04:00
fduncanh
4c6c58d192 Add option -p [n] for setting network ports (use behind a firewall) 2021-08-01 23:25:04 -04:00
fduncanh
5aa5420a5e add the option to choose the display size -s wxh 2021-08-01 19:02:18 -04:00
fduncanh
f70e47c5c3 silence avah_compat nag with AVAHI_COMPAT_NOWARN=1
uses putenv; conditional compilation set in CMakelists.txt
2021-08-01 17:11:43 -04:00
fduncanh
9780a7e259 Set _NET_WM_NAME (as server_name) so the window can be shared on screen-sharing software antimof#31
(should have been part of previous commi)
2021-08-01 16:58:48 -04:00
fduncanh
a8d562a5f7 Set _NET_WM_NAME (as server_name) so the window can be shared on screen-sharing software #31
(added fix from  PR #3 from https://github.com/DavidVentura/UxPlay)

Gstreamer does not set the _NET_WM_NAME property on the window it
creates when using autovideosink (or ximagesink/xvimagesink for that
matter).

A lot of tools (like Zoom) filter based on this field being non-null, so
the window can't be shared.

This horrible hack finds the first open window that matches our application
name and proceeds to set _NET_WM_NAME on it.

It is very ugly, and I do not know what I am doing, but it works. Feel free to use this to write something that makes more sense.

---------------------------
changes from PR #31:
use the UxPlay server-name as the widow name.
2021-08-01 16:48:06 -04:00
fduncanh
019f2c9365 cosmetic whitespace cleanup 2021-08-01 14:16:50 -04:00
fduncanh
58e0a15f93 remove rpi features not valid for gstreamer, set application name
to server name, so this name appears in gstreamer window title bar
2021-08-01 13:51:12 -04:00
fduncanh
5d2221b22b add back compiler options used by antimov 2021-07-31 23:37:07 -04:00
fduncanh
57e9287df1 extend API to allow choices for udp ports, tcp ports, display size
to writen into raop_t raop for later use when connections are made.
new functions : raop_set_udp_ports, raop_set_tcp_ports, raop_set_display_size
The behavior of the library is unchanged if these functions are not used.
2021-07-31 23:24:50 -04:00
fduncanh
623b638357 Bring contents of lib up to date with current FD-:master RPiPlay
the plist library is removed (the Linux distributions version will be used)
(libplist 2.0)

the library llhttp v 6.0.2 is added to replace http_parser

The curve25519 and ed25519 libraries are removed, and replaced with their
OpenSSL 1.1.1 implementations

crypto is updated
2021-07-31 19:29:58 -04:00
antimof
6a473d6026 Check availability of necessary Gstreamer plugins 2020-05-07 09:22:39 +03:00
antimof
5ecfaf7f94 Check availability of necessary Gstreamer plugins 2020-05-07 09:20:32 +03:00
antimof
ed96d3f095 Update README.md 2020-05-03 07:56:47 +03:00