Commit graph

53 commits

Author SHA1 Message Date
checkraisefold
8a35cf4c5a Fix OpenGL video sinkchain crash 2024-05-17 14:55:33 -07:00
checkraisefold
e7d28b96da
Windows screenshare/video call support, general call improvements (#1725)
* Initial support for d3d11 qml video item

* Windows screenshare support, D3D11

* misc fixes

* further window visibility checks

* preview updates

* fix qml preview

* fix compositor

* add libnice plugin dep

* re-run formatter

* final formatter fix [skip ci]

* fix tumbleweed build

---------

Co-authored-by: Joseph Donofry <rubberduckie3554@gmail.com>
2024-05-10 15:22:58 -04:00
Nicolas Werner
b077596704
Fix lint 2024-04-05 22:47:09 +02:00
Nicolas Werner
a415b39bf9
Color conversion seems to be redundant before the sink (upload too, but removing that breaks stuff) 2024-04-05 04:15:29 +02:00
Nicolas Werner
f1722d5f64
Add some voip debugging hoops 2024-04-05 03:57:28 +02:00
Nicolas Werner
06927cd3c2
Include moc files for a tiny speedup on incremental builds 2024-03-16 01:34:23 +01:00
Nicolas Werner
c69f0f95a9
Fix Nheko freezing after stopping a call on Wayland 2023-11-09 23:55:42 +01:00
Nicolas Werner
2f98a4475f
Get rid of useless capture 2023-11-09 21:40:46 +01:00
Nicolas Werner
0e0a93914e
Replace mediafiles
fixes #1590
2023-11-09 21:32:19 +01:00
Nicolas Werner
64860357c4
Fix gstreamer element names 2023-11-02 00:38:13 +01:00
Nicolas Werner
2360dfd80a
Remaining events apart from verification 2023-08-25 19:03:16 +02:00
Loren Burkholder
8a9e6ccf3e Fix some compiler errors 2023-07-23 09:54:17 -04:00
Nicolas Werner
c6ec4b8ba4
Fix screenshare selection 2023-06-19 21:22:54 +02:00
Nicolas Werner
ce1a64bc19
Move to automatic type registration 2023-06-19 01:38:40 +02:00
Nicolas Werner
de8522a185
lint 2023-06-08 22:32:08 +02:00
Nicolas Werner
54e2295c21
Fix palette access and QMediaPlayer errors 2023-06-08 22:32:07 +02:00
Nicolas Werner
b518f6902e
Make Nheko compile on Qt6 2023-06-08 22:32:07 +02:00
David Elsing
90b8542a2e Include missing <optional> header 2023-03-30 17:36:40 +02:00
David Elsing
c8402b156b Change text of the PipeWire streenshare method 2023-03-30 17:36:40 +02:00
David Elsing
c3081ece40 Cleanup Qt D-Bus connections and watchers 2023-03-30 17:36:40 +02:00
David Elsing
7f98cd0133 Use mtx::client::utils::random_token for XDP session tokens 2023-03-30 17:36:40 +02:00
David Elsing
2aadc7c2c4 Improve choosing screen share type 2023-03-30 17:36:40 +02:00
David Elsing
562a71a5f3 Add missing license headers 2023-03-30 17:36:40 +02:00
David Elsing
1ba6a4d78d Support screen sharing with xdg-desktop-portal 2023-03-30 17:36:40 +02:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
36e5ef1a1f
Fix build without voip 2023-02-08 21:22:15 +01:00
Nicolas Werner
fc7937c73d
Fix required plugin check on gstreamer 1.22
GStreamer 1.22 merged the videoscale plugin into the videoconvertscale
plugin. So we should check if the Element is still loadable instead of
checking the plugin name.

fixes #1352
2023-02-08 00:54:02 +01:00
Nicolas Werner
9f529075f0
Uncoditionally request keyframes 2023-01-31 18:02:35 +01:00
Joseph Donofry
d511814caf Fix free-ing invalid pointer in call devices. From Jason Volk <jason@zemos.net> 2023-01-23 16:34:24 -05:00
Nicolas Werner
7f9af9016d
Fix a few minor leaks (or just memory showing up as not freed in tools) 2023-01-22 05:02:10 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities! 2023-01-02 04:25:33 +01:00
Nicolas Werner
b28fa86e6a
Enable -Wconversion 2022-10-26 01:10:35 +02:00
Rohit Sutradhar
ac48c33286
VoIP v1 implementation (#1161)
* Initial commit for VoIP v1 implementation

* Added draft of event handlers for voip methods

* Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility

* Added call events to the general message pipeline. Modified Call Reject mechanism

* Added message delegates for new events. Modified hidden events. Updated handle events.

* Updated implementation to keep track of calls on other devices

* Fixed linting

* Fixed code warnings

* Fixed minor bugs

* fixed ci

* Added acceptNegotiation method definition when missing gstreamer

* Fixed warnings

* Fixed linting
2022-10-14 13:49:05 +00:00
Nicolas Werner
af699eb83e
Mark classes as final where possible 2022-10-10 14:38:45 +02:00
Nicolas Werner
851333a50d
Switch to clang-format14 2022-09-25 20:05:08 +02:00
r0hit05
4c8ce911bd Fixed formatting 2022-07-15 17:44:53 +05:30
r0hit05
a7bfaa4ef6 Updated call struct definitions 2022-07-15 17:20:05 +05:30
r0hit05
6663e5683d Updated call event namespaces to voip 2022-07-15 17:20:05 +05:30
Nicolas Werner
28ff6fa484
Fix bad format string 2022-05-19 22:08:27 +02:00
Nicolas Werner
90da39313f
Use right linter 2022-05-10 03:53:35 +02:00
Nicolas Werner
a6b2be112b
More image dialog fixes 2022-05-10 03:20:09 +02:00
Pablo Barciela
910da20547 WebRTCSession: avoid deprecated 'gst_element_get_request_pad' 2022-02-21 20:13:19 +01:00
Joe Donofry
9033235e9d Gstreamer glib event loop for macos and windows
- This ensures that gstreamer bus operations work
on macOS and windows, such as enumerating devices.
2022-01-02 21:15:10 +00:00
Nicolas Werner
61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner
19dc6cadea
Reserve size of some containers we are filling 2021-12-29 06:01:38 +01:00
Nicolas Werner
d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner
bb290f9fec
Fix more warnings and remove dead code 2021-12-28 22:30:12 +01:00
Nicolas Werner
5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Nicolas Werner
a13f492e7d
Make clang-format <13 and clang-format >=13 behave the same
I think old clang-format is just buggy in those cases, so we should
reenable those blocks, once everyone has 13 or up.
2021-11-22 00:33:43 +01:00
Nicolas Werner
b439e1fa41
Preliminary gstreamer 1.20 compatibility
The transceiver was made private in
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2241

The direction property was added here:
28b0be4036
2021-11-19 18:19:16 +01:00