rtmp2: Allow setting flash-version
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>
Tue, 25 Feb 2020 13:58:23 +0000 (14:58 +0100)
committerJan Alexander Steffens (heftig) <jsteffens@make.tv>
Tue, 25 Feb 2020 14:10:28 +0000 (15:10 +0100)
commit91a033a85e2b3016cf978920a843607327a422bc
tree99e8e11b55dae75549a0b08a0fb83b7a53ce902d
parent69ef74d96a0ba2f2ab07b9dff9821c37b76b1d5e
rtmp2: Allow setting flash-version

In case the application has to deal with fussy servers. User agent
sniffing is so last decade.

Adds a property to set the Flash version on both the sink and the src.
The default stays the same (IIRC, Flash plugin for Linux from 2009).
gst/rtmp2/gstrtmp2locationhandler.c
gst/rtmp2/gstrtmp2sink.c
gst/rtmp2/gstrtmp2src.c
gst/rtmp2/rtmp/rtmpclient.c