Jan Alexander Steffens (heftig)
c533010e20
srt: Use g_cancellable_get_fd for poll cancellation
...
Removing sockets from the epoll for cancellation is unreliable and might
not be thread-safe. Rather, have SRT watch a FD from the cancellable if
available. Keep the cancellable cancelled while we're not open.
Use the regular single-socket `sock` and `poll_id` fields for the
listening thread instead of duplicating them.
Before polling we need to check the socket state. SRT closes broken
sockets by itself and when the epoll contains our cancellation FD it can
no longer be empty, which was an error before.
Treat more failures in the read and write operations as an opportunity
to try a reconnect.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4087 >
2023-03-02 15:39:25 +00:00
..
2022-11-15 00:13:15 +11:00
2023-02-01 19:04:32 +00:00
2022-09-01 21:17:35 +00:00
2023-02-06 13:31:51 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-02 00:27:47 +00:00
2023-01-30 19:46:55 +00:00
2022-09-01 21:17:35 +00:00
2023-02-24 14:32:18 +00:00
2022-11-14 23:45:53 +00:00
2022-09-01 21:17:35 +00:00
2023-01-08 03:49:03 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-04 17:59:21 +00:00
2022-09-01 21:17:35 +00:00
2022-09-05 17:48:27 +00:00
2022-09-01 21:17:35 +00:00
2022-11-10 09:53:29 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-17 22:11:12 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-01-24 15:25:07 +00:00
2022-11-04 17:59:21 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-04 17:59:21 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-22 22:36:34 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-12-30 17:10:12 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-01-03 19:40:20 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-11-11 10:13:27 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-03-02 15:39:25 +00:00
2023-01-25 11:38:52 +00:00
2023-02-14 11:59:48 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2022-09-16 00:14:58 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-02-27 09:09:47 +00:00
2022-09-01 21:17:35 +00:00
2022-09-01 21:17:35 +00:00
2023-02-28 13:43:23 +00:00
2023-01-24 15:25:07 +00:00
2022-09-01 21:17:35 +00:00
2022-12-11 15:52:08 +00:00
2023-02-03 22:14:18 +02:00