Sebastian Dröge
12058a4c9a
s3: Update rusoto dependency to 0.41
2019-10-14 21:37:20 +03:00
Guillaume Desmottes
82841555f2
ci: run 'cargo audit' in scheduled jobs
2019-10-10 14:40:09 +02:00
Sebastian Dröge
5def817f75
reqwesthttpsrc: Extend tests and cover more code paths
2019-10-05 12:08:05 +03:00
Sebastian Dröge
99836709fa
reqwesthttpsrc: Correctly forward Future errors instead of mapping them all to timeouts
2019-10-05 01:07:04 +03:00
Sebastian Dröge
120f85ac71
reqwesthttpsrc: Fix up context name
2019-10-05 01:07:04 +03:00
Sebastian Dröge
c4e51d3e8c
reqwesthttpsrc: Implement keep-alive property
2019-10-05 01:07:04 +03:00
Sebastian Dröge
f9e5d67478
reqwesthttpsrc: Implement iradio-mode property and parsing of icecast headers
2019-10-05 01:07:04 +03:00
Sebastian Dröge
98127948af
reqwesthttpsrc: Add support for extra-headers and cookies properties
2019-10-05 01:07:04 +03:00
Sebastian Dröge
2a6ee4b959
reqwesthttpsrc: Answer the SCHEDULING query correctly
...
We don't really want to operate in pull mode and also hint that we're
bandwidth limited.
2019-10-05 01:07:04 +03:00
Sebastian Dröge
cecc0804d5
reqwesthttpsrc: Various cleanups, error handling improvements and better debug output
2019-10-05 01:07:04 +03:00
Sebastian Dröge
e90099bad3
reqwesthttpsrc/s3: Unlock canceller while waiting for the future to be resolved
...
Otherwise nothing can ever access the canceller and unlocking does not
work.
meh
2019-10-05 01:07:04 +03:00
Sebastian Dröge
69aefb15f7
Update GStreamer to 1.16.1 and explicitly use Debian buster docker images
2019-10-05 00:36:13 +03:00
Sebastian Dröge
ce2b148107
sodium: Update to hex 0.4
2019-10-04 12:20:22 +03:00
Sebastian Dröge
04bc1a6b65
ts-udpsrc: Remove redundant semicolons
2019-10-04 12:06:47 +03:00
Sebastian Dröge
074a82d8ad
Various fixes for from_string() -> from_str(), to_string() vs. to_str()
...
The latter also does not allocate.
2019-10-04 11:47:50 +03:00
Mathieu Duponchelle
9897336896
jitterbuffer: flush RTPJitterBuffer when going to NULL
...
and cancel our timer
2019-10-03 15:56:07 +00:00
Mathieu Duponchelle
8a4d517dec
jitterbuffer: fix tear down
...
- Release pending future id in READY -> NULL
- Verify that we still have an io_context in the timeout's closure
2019-10-03 15:56:07 +00:00
Abdul Rehman
60a19826e6
gst-plugin-tutorial: port-tutorial-documentation-to-new-register-API
2019-10-03 14:16:51 +00:00
Sebastian Dröge
b84388b0f3
threadshare: Fix shutdown race condition
...
We might've already handled the shutdown unparking while doing the
previous turn(s), so we have to check the atomic bool afterwards again
and before waiting (potentially) forever.
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/issues/75
2019-10-02 12:02:09 +03:00
Sebastian Dröge
429e3027b3
flvdemux: Update to nom 5
2019-09-30 11:23:29 +03:00
Sebastian Dröge
22982614d7
reqwesthttpsrc: Add property to enable/disable usage of compression
2019-09-30 11:10:33 +03:00
Sebastian Dröge
6888b08db2
reqwesthttpsrc: Fix debug output for received chunks
2019-09-30 11:00:07 +03:00
Sebastian Dröge
fecf4bac2e
reqwesthttpsrc: Add test for cookie storage and context/client sharing
2019-09-29 16:43:38 +03:00
Sebastian Dröge
e3a92edd45
reqwesthttpsrc: Implement client context sharing, including cookie storage and connection re-use
2019-09-28 15:02:10 +03:00
Mathieu Duponchelle
5976c9c1e4
jitterbuffer: timeouts may be called context_wait / 2 too early
...
Take this into account to determine what packets need sending out.
2019-09-24 15:17:27 +02:00
Mathieu Duponchelle
c5d5cdcd9d
jitterbuffer: discard packets with invalid pts
...
When RTPJitterBuffer resets itself in caluclate_pts(), it returns
GST_CLOCK_TIME_NONE and the packet should be discarded, according
to the behaviour of the standard jitterbuffer.
2019-09-24 15:17:22 +02:00
Sebastian Dröge
e708e42dcb
fallbackswitch: Allow using compressed video in the example application
2019-09-18 11:36:54 +00:00
Sebastian Dröge
a6812d852f
fallbackswitch: Use DTS if existing or otherwise PTS for timestamp tracking
2019-09-18 11:36:54 +00:00
Sebastian Dröge
50ee0c1a1d
fallbackswitch: Correctly handle incoming non-default segments
...
We need to convert buffer timestamps to the outgoing [0, -1] segment of
aggregator. This won't work correctly for negative DTS as is.
2019-09-18 11:36:54 +00:00
Sebastian Dröge
b7dba68ab9
fallbackswitch: Fix compiler warning in test
2019-09-18 11:36:54 +00:00
Sebastian Dröge
9c051083b0
fallbackswitch: Add support for non-raw caps
...
And in that case always wait for a keyframe before doing a pad switch.
2019-09-18 11:36:54 +00:00
Sebastian Dröge
05d379bd3d
fallbackswitch: Minor cleanup
2019-09-18 11:36:54 +00:00
Sebastian Dröge
187cd9f8b1
fallbackswitch: Add simple GTK example application
2019-09-18 11:36:54 +00:00
Sebastian Dröge
7e25b4fd84
togglerecord: Use Bus::add_watch_local() for simplification
2019-09-18 11:36:54 +00:00
Sebastian Dröge
3af5552e10
lewton: Use gst_audio_decoder_error!() macro instead of the hard gst_element_error_macro!()
...
This allows for some decoding errors to happen.
2019-09-15 11:50:24 +03:00
Sebastian Dröge
f2264b8a1e
rav1e: Use AtomicRefCell instead of a Mutex for the state
...
We only ever use it from the streaming thread.
2019-09-14 20:08:18 +03:00
Sebastian Dröge
d0978473d3
Add initial version of lewton based Vorbis decoder
2019-09-14 20:08:18 +03:00
Sebastian Dröge
63eab12132
fallbackswitch: Remove unnecessary base-prelude.h include
...
It does not exist in pre-1.16 versions of GStreamer yet.
2019-09-13 09:41:49 +00:00
Mathieu Duponchelle
ec56fee368
jitterbuffer: fix packet_spacing calculation
...
When encountering an unexpected gap in received seqnums, ips_pts
and ips_rtptime must be reset to avoid calculating a potentially
invalid packet spacing the next time sequential packets are
received.
2019-09-12 15:29:18 +02:00
Sebastian Dröge
7d88c014f8
fallbackswitch: Fix buffer clipping if no duration and 0/1 framerate
...
Instead of a division by 0, simply ignore the duration for clipping
purposes.
2019-09-11 22:04:46 +03:00
Sebastian Dröge
e7053bc046
threadshare: Don't keep timers locked while waiting for IO
2019-09-09 13:55:56 +03:00
Sebastian Dröge
5f9d649021
threadshare: Handle context-wait==0 by waiting on IO
2019-09-09 12:37:18 +03:00
Sebastian Dröge
b05fb902f9
Remove usage of subclassing feature, it's the default now
2019-09-09 10:45:06 +03:00
Sebastian Dröge
1084178e95
jitterbuffer: Minor code cleanup
2019-09-07 10:53:11 +03:00
Sebastian Dröge
83cc8104a1
Fix or silence all remaining clippy warnings
...
Also ignore common errors we don't care about when running clippy and
make clippy errors fail the CI.
2019-09-07 10:42:07 +03:00
Mathieu Duponchelle
2c7775125a
tests/appsrc: remove unrelated jitterbuffer "tests"
...
This was mistakenly staged during development for !161
2019-09-06 21:13:37 +02:00
Mathieu Duponchelle
9d7e304fc6
threadshare: address clippy errors
2019-09-06 19:21:07 +02:00
Mathieu Duponchelle
202ff408e7
jitterbuffer: share context downstream
...
.. and execute pending futures after pushing buffers
2019-09-06 14:33:39 +00:00
Mathieu Duponchelle
5496067925
jitterbuffer: initial thread sharing support
2019-09-06 14:33:39 +00:00
Sebastian Dröge
33cb599464
threadshare/iocontext: Add custom interval timer implementation
...
This knows about our throttled event loop and ensures that timers are
triggered at most 1 throttle time later instead of 2.
2019-09-06 14:33:39 +00:00