rtmp2: Set default flash version to NULL

This is consistent with the librtmp-based old rtmp plugin and ffmpeg.
While some servers require a valid flash-version, others are failing
with a too long or any flash-version at all.

By changing to the same default as in the old plugin and in ffmpeg,
GStreamer will at least behave the same and will work and fail with the
same servers without setting a flash-version.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5293>
This commit is contained in:
Sebastian Dröge 2023-09-06 17:01:09 +03:00 committed by GStreamer Marge Bot
parent ce7b2af414
commit 889a3fe932
2 changed files with 2 additions and 2 deletions

View file

@ -230725,7 +230725,7 @@
"construct": true,
"construct-only": false,
"controllable": false,
"default": "LNX 10,0,32,18",
"default": "NULL",
"mutable": "null",
"readable": true,
"type": "gchararray",

View file

@ -33,7 +33,7 @@
#define DEFAULT_PASSWORD NULL
#define DEFAULT_AUTHMOD GST_RTMP_AUTHMOD_AUTO
#define DEFAULT_TIMEOUT 5
#define DEFAULT_FLASH_VERSION "LNX 10,0,32,18"
#define DEFAULT_FLASH_VERSION NULL
G_DEFINE_INTERFACE (GstRtmpLocationHandler, gst_rtmp_location_handler, 0);