Commit graph

96 commits

Author SHA1 Message Date
Maxim Logaev f1aed531e2 Merge remote-tracking branch 'smalishevskiy/test' into master-windows-changes-test 2024-03-12 18:34:26 +03:00
emil 734e1503c7 Remove Gst.deinit (proactive bug fix)
Gst.deinit caused the Dino proces to linger in the background when I
tried using Gst in the phone ringer plugin. My reasoning for leaving it
out even though Gst is not in use anymore in the ringer plugin is that
this is a nasty bug that might crop up again in the future when someone
tries to do anything else at all with Gst.

I did the following things:

- checked this https://gstreamer.freedesktop.org/documentation/gstreamer/gst.html#gst_deinit
- tested that Dino works without the Gst.deinit
- tried looking for a specific reason for the deinit with git log -L 276,+10 -- plugins/rtp/src/plugin.vala

I didn't find anything so this made me conclude that it is better to
leave it out.
2024-03-12 11:33:03 +03:00
Maxim Logaev f9fd66dba5 Merge branch 'origin/master' into master-windows-changes 2024-03-05 15:07:52 +03:00
hrxi e93e14b12c rtp plugin doesn't depend on GnuTLS 2023-11-13 22:27:50 +01:00
LAGonauta f6fe383ce8 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-10-09 10:54:15 -04:00
fiaxh 1e167eeea6 Fix some compiler warnings 2023-10-07 14:34:23 +02:00
hrxi c312fb282f meson: Add version detection for some dependencies 2023-10-06 15:25:12 +02:00
hrxi a55a10e88f meson: Add RTP options that are also present in the CMakeLists.txt 2023-10-06 15:25:12 +02:00
hrxi e6938c2965 meson: Add rtp plugin 2023-10-06 15:25:12 +02:00
LAGonauta 49f331627d Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-07-17 17:28:47 -04:00
Marvin W 8c8c2dc4b0
Fix potential crash in video calls 2023-07-09 15:32:53 +02:00
LAGonauta 7603990740 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-04-24 19:01:02 -03:00
Marvin W dbb8abc117
Fix video for cameras with rotated image 2023-04-22 17:04:28 +02:00
LAGonauta 7872d21f03 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2023-04-21 20:43:40 -03:00
Marvin W cb10110c57
Fix C binding for gst_video_frame_get_data
Fixes #1267
2023-03-20 15:53:53 -06:00
LAGonauta a7f7a6d388 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2022-08-25 08:54:04 -03:00
Marvin W 0aa73c4569
RTP: Use gstreamers new VideoFrame.map 2022-08-21 20:02:48 +02:00
Marvin W e85477bb19
RTP: Use latest gstreamer vapi if vala version older than 0.56.1 2022-08-21 19:33:20 +02:00
Marvin W 7b252d040a
CMake: Fix version checks 2022-08-21 00:41:27 +02:00
Marvin W e51b55432f Gtk4 bug fixes and improvements 2022-07-27 20:55:54 +02:00
fiaxh f44cbe02c1 Improve Gtk4 port 2022-07-27 20:34:20 +02:00
Marvin W 2b3ce5fc95 Video for GTK4 2022-07-27 20:34:20 +02:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
LAGonauta c29032bcc6 :Merge remote-tracking branch 'upstream/master' into master-windows-changes 2022-06-05 11:12:23 -03:00
Matthew Egeler f25bfb0096
Support devices with multiple framerate options in get_max_fps (#1224) 2022-05-17 14:12:32 +02:00
foucault 186361fd8a Fix calculation of best camera framerate
When the algorithm iterates over all the available v4l2 capabilities it tries to determine the best framerate for each one of YUYV (video/x-raw) modes presented by the hardware (best_fraction, line 357 in device.vala). Regardless of what's determined to be the "best" YUYV mode from within the conditional right after (line 385) the best fractional framerate will always point to the last iterated framerate, which might be an extremely low one, like 7 or 5 FPS. When the framerate is then stored in the Gst.Structure (line 394) the fractional framerate will always be that last value which might be different than the correct one as calculated by best_fps (line 386). This workaround solves this issue by only updating best_fraction when the conditional in line 385 is satisfied.

from issue #1195
2022-05-17 14:08:22 +02:00
LAGonauta 90bd9df891 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2022-02-25 07:02:20 -03:00
LAGonauta d10badd690 Ignore wasapi devices as they do not work well yet 2022-02-25 07:02:06 -03:00
mjk 3719fcbefb RTP: clarify codec support warning 2022-02-13 21:32:28 +01:00
Marvin W 369d0c79d7
Calls: Fix device selector for multi-party calls, allow picking device before call started 2022-02-12 14:36:26 +01:00
Marvin W 6532c2b160
RTP: Only display SSRC mismatch warning for GLib versions supporting warning_once 2022-02-11 20:33:06 +01:00
Marvin W e768c40e11
RTP: Make codec and hardware support compile-time configurable 2022-02-11 19:55:19 +01:00
fiaxh dbc6d87cb9 Various call fixes
- Don't create incoming CIM calls twice
- Fix is_color check for video devices w/ multiple formats
- Tolerate mismatching content creator on jingle responses
- Change MUJI namespace to urn:xmpp:jingle:muji:0
2022-02-10 15:43:34 +01:00
LAGonauta 11828cc2cf no need to ignore wasapi 2022-02-09 21:09:44 -03:00
Marvin W 28248607f0
DTLS: Handle DTLS fingerprint in transport-info before session-accept 2022-02-09 23:58:54 +01:00
LAGonauta dd71e943c3 Merge remote-tracking branch 'upstream/master' into master-windows-changes 2022-02-08 20:32:22 -03:00
LAGonauta b8b74817f7 Merge remote-tracking branch 'upstream/master' into master-windows-changes
# Conflicts:
#	main/src/ui/conversation_content_view/file_widget.vala
#	plugins/CMakeLists.txt
#	plugins/rtp/src/device.vala
#	plugins/rtp/src/plugin.vala
2022-02-08 18:33:09 -03:00
Marvin W 43ea088f64
Calls: Device picker 2022-02-08 21:58:18 +01:00
fiaxh 4ef50db3e5 Various call UI/UX improvements 2022-02-07 01:21:11 +01:00
Marvin W 5ed8d28a27
RTP: Use two channels for Opus
Fixes: #1189
2022-02-06 00:19:27 +01:00
Marvin W bfd089516a
RTP: Add support for G.722 2022-02-06 00:19:26 +01:00
Marvin W 460c520db7
RTP: Restrict number of recaps to save resources 2022-02-06 00:19:26 +01:00
Marvin W 0c524cdc4a
RTP: Workaround drawing issues on resolution change 2022-01-27 22:09:53 +01:00
fiaxh b123800f26 Small cleanup 2022-01-23 19:50:01 +01:00
Marvin W f270fc7686
RTP: VAAPI seems to not support VBR and low-power mode at the same time 2022-01-21 15:34:06 +01:00
Marvin W 37cfbd8c76
RTP: Use VP8 wait-for-keyframe only for GStreamer 1.18+ 2022-01-21 15:23:38 +01:00
Marvin W 9490ffed6b
Fixes for older valac versions 2021-12-25 18:25:29 +01:00
Marvin W 1c47652814
Fix build with older Vala compilers
- Older versions seem to assume a wrong type for Nice messages
- Older versions have broken bindings for Gst.Value.set_fraction
2021-12-23 07:06:07 +01:00
Marvin W 8e99ed1e9c RTP: Disable VP9 2021-12-19 22:38:27 +01:00
Marvin W cd6d501c23 RTP: Improve screen resolution update logic 2021-12-19 22:38:00 +01:00