Jan Alexander Steffens (heftig)
286a3829b6
rtmp2: Improve handling incoming set chunk/window size
...
Reject out-of-spec sizes and warn about suspiciously small sizes.
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
0044e7a1ba
rtmp2: Count in_bytes_acked instead of in_bytes_unacked
...
This is nicer for statistics.
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
11a1de0053
rtmp2: rtmpconnection: Use more appropriate size types
...
- guint32 for chunk size and window size
- guint64 for running counters
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
279e3c333c
rtmp2: Add a g_return_val_if_fail
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
03c3257f0f
rtmp2: Replace explicit unref with g_main_context_invoke_full
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
baad4fd91b
rtmp2: rtmpconnection: Use GST_*_OBJECT logging
...
GstRtmpConnection isn't a GstObject with a name or path, but we still
get the GObject's type and address.
2020-02-21 15:20:41 +00:00
Jan Alexander Steffens (heftig)
e07a1bb48f
rtmp2: Add gst_rtmp_connection_set_data_frame
...
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/878
2019-12-03 14:11:47 +01:00
Jan Alexander Steffens (heftig)
f5b068b26c
rtmp2: Minor changes
...
- Remove an unneeded initialization to zero from AmfParser
- Add missing initialization to gst_amf_serialize_command_valist
- Add a g_return_if_fail to gst_rtmp_connection_request_window_size
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/merge_requests/878
2019-12-03 14:11:46 +01:00
Jan Alexander Steffens (heftig)
f730f4a694
rtmp2: Check for missing GstRtmpMeta
...
The message buffers are created using `gst_rtmp_message_new` and thus
always contain a GstRtmpMeta. Add checks to appease Coverity's static
analysis.
CID 1455596
CID 1455384
2019-11-12 12:20:30 +01:00
Vivia Nikolaidou
2386858a91
Add files from gst-rtmp
...
For master, without autotools.
2019-11-05 13:52:55 +00:00