1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug#25: fmle republish bug, srs return special error code and wait for client to republish.

This commit is contained in:
winlin 2014-03-05 10:21:31 +08:00
parent 1ccddf4cfc
commit a488ef8317
5 changed files with 117 additions and 39 deletions

View file

@ -25,6 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
bool srs_is_system_control_error(int error_code)
{
return error_code == ERROR_CONTROL_RTMP_CLOSE;
return error_code == ERROR_CONTROL_RTMP_CLOSE
|| error_code == ERROR_CONTROL_REPUBLISH;
}