srs/trunk/src/protocol
Winlin 9995147704 RTMP: Do not response publish start message if hooks fail. v5.0.212 (#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:22:41 +08:00
..
srs_protocol_amf0.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_amf0.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_conn.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_conn.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_format.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_format.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_http_client.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_http_client.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_http_conn.cpp Merge pull request from GHSA-gv9r-qcjc-5hj7 2024-03-28 11:02:09 +08:00
srs_protocol_http_conn.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_http_stack.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_http_stack.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_io.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_io.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_json.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_json.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_kbps.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_kbps.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_log.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_log.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_protobuf.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_protobuf.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_raw_avc.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_raw_avc.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtc_stun.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtc_stun.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_conn.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_conn.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_handshake.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_handshake.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_msg_array.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_msg_array.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_rtmp_stack.cpp RTMP: Do not response publish start message if hooks fail. v5.0.212 (#4038) 2024-04-23 15:22:41 +08:00
srs_protocol_rtmp_stack.hpp RTMP: Do not response publish start message if hooks fail. v5.0.212 (#4038) 2024-04-23 15:22:41 +08:00
srs_protocol_srt.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_srt.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_st.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_st.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_stream.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_stream.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_utility.cpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00
srs_protocol_utility.hpp Switch to 2013-2024. v5.0.205 2023-12-30 09:29:07 +08:00