summaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorJun Li <junli1026@gmail.com>2019-03-30 21:35:51 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2019-03-31 23:23:52 +0200
commit4f5e660e69545bd54955002c13dcbe4dbddb1dc4 (patch)
treeb8f729820d498cb2ab617bb609a67d72fe37f4b4 /libavformat/rtsp.c
parent93748a2efa66c49b2b84d163829566ebbfc2bd58 (diff)
downloadffmpeg-streaming-4f5e660e69545bd54955002c13dcbe4dbddb1dc4.zip
ffmpeg-streaming-4f5e660e69545bd54955002c13dcbe4dbddb1dc4.tar.gz
avformat/doc, http, icecast, rtsp: Add option to disable send-expect-100
Fix ticket #7297 The current setting for send-expect-100 option is either enabled if applicable or forced enabled, no option to force disable the header. This change is to expand the option setting to provide more flexibility, which is useful for rstp case. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 4661654..0330959 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1797,6 +1797,7 @@ redirect:
sessioncookie);
av_opt_set(rt->rtsp_hd_out->priv_data, "headers", headers, 0);
av_opt_set(rt->rtsp_hd_out->priv_data, "chunked_post", "0", 0);
+ av_opt_set(rt->rtsp_hd_out->priv_data, "send_expect_100", "0", 0);
/* Initialize the authentication state for the POST session. The HTTP
* protocol implementation doesn't properly handle multi-pass
OpenPOWER on IntegriCloud