srs/trunk/src/app
Winlin 37f0faae5a
RTMP: Do not response publish start message if hooks fail. v5.0.212 v6.0.123 (#4038)
Fix #4037 SRS should not send the publish start message
`onStatus(NetStream.Publish.Start)` if hooks fail, which causes OBS to
repeatedly reconnect.

Note that this fix does not send an RTMP error message when publishing
fails, because neither OBS nor FFmpeg process this specific error
message; they only display a general error.

Apart from the order of messages, nothing else has been changed.
Previously, we sent the publish start message
`onStatus(NetStream.Publish.Start)` before the HTTP hook `on_publish`;
now, we have modified it to send this message after the HTTP hook.
2024-04-23 15:21:36 +08:00
..
srs_app_async_call.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_async_call.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_caster_flv.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_caster_flv.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_config.cpp System: Disable feature that obtains versions and check features status. v5.0.209 v6.0.115 (#3990) 2024-03-19 19:12:41 +08:00
srs_app_config.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_conn.cpp Support x509 certification chiain in single pem file. v5.0.211 v6.0.122 (#4033) 2024-04-22 10:15:11 +08:00
srs_app_conn.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_coworkers.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_coworkers.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_dash.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_dash.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_dvr.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_dvr.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_edge.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_edge.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_empty.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_empty.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_encoder.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_encoder.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ffmpeg.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ffmpeg.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_forward.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_forward.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_fragment.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_fragment.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_gb28181.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_gb28181.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hds.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hds.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_heartbeat.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_heartbeat.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hls.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hls.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hourglass.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hourglass.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_api.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_api.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_client.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_client.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_conn.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_conn.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_hooks.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_hooks.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_static.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_static.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_stream.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_http_stream.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hybrid.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_hybrid.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ingest.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ingest.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_latest_version.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_latest_version.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_listener.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_listener.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_log.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_log.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_mpegts_udp.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_mpegts_udp.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ng_exec.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_ng_exec.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_pithy_print.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_pithy_print.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_process.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_process.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_recv_thread.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_recv_thread.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_refer.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_refer.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_reload.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_reload.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_api.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_api.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_codec.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_codec.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_conn.cpp RTC: Fix video and audio track pt_ is not change in player before publisher. v5.0.207 v6.0.111 (#3925) 2024-02-05 15:15:06 +08:00
srs_app_rtc_conn.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_dtls.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_dtls.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_network.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_network.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_queue.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_queue.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_sdp.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_sdp.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_server.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_server.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_rtc_source.cpp WHIP: Fix bug for converting WHIP to RTMP/HLS. v5.0.208 v6.0.113 (#3920) 2024-02-06 14:06:34 +08:00
srs_app_rtc_source.hpp WHIP: Fix bug for converting WHIP to RTMP/HLS. v5.0.208 v6.0.113 (#3920) 2024-02-06 14:06:34 +08:00
srs_app_rtmp_conn.cpp RTMP: Do not response publish start message if hooks fail. v5.0.212 v6.0.123 (#4038) 2024-04-23 15:21:36 +08:00
srs_app_rtmp_conn.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_security.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_security.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_server.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_server.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_source.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_source.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_conn.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_conn.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_listener.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_listener.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_server.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_server.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_source.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_source.hpp Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
srs_app_srt_utility.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_srt_utility.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_st.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_st.hpp Typo: Fix some typos for #3973 #3976 #3982. v6.0.114 (#3973) 2024-03-18 10:17:00 +08:00
srs_app_statistic.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_statistic.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_stream_bridge.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_stream_bridge.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_tencentcloud.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_tencentcloud.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_threads.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_threads.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_utility.cpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_utility.hpp Switch to 2013-2024. v6.0.109 2024-01-01 10:51:24 +08:00
srs_app_uuid.cpp For #2532: Windows: Support CYGWIN64 for SRS (#3255) 2022-11-20 12:29:57 +08:00
srs_app_uuid.hpp API: Use libuuid to generate uuid. v5.0.9 2021-08-06 22:02:46 +08:00