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

@ -155,6 +155,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// not an error, but special control logic.
// sys ctl: rtmp close stream, support replay.
#define ERROR_CONTROL_RTMP_CLOSE 900
// FMLE stop publish and republish.
#define ERROR_CONTROL_REPUBLISH 901
/**
* whether the error code is an system control error.