rtmp2: Handle outgoing set chunk/window size properly
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>
Mon, 27 Jan 2020 15:22:20 +0000 (16:22 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 21 Feb 2020 15:20:41 +0000 (15:20 +0000)
commit63ec837824aef0710067d7d5bda75bcd3018fcee
treebdd61f1e1ef1336a9447bbd27f43403fef0f0003
parenta566461294a706545e8ccbcd48aa7fb1a6fb9872
rtmp2: Handle outgoing set chunk/window size properly

Apply outgoing sizes only after writing the chunk to the peer. This is
important particularly for the set chunk size and allows exposing it
without threading issues.
gst/rtmp2/rtmp/rtmpconnection.c