Added NetStream.Publish.BadName

This commit is contained in:
Roman Arutyunyan 2012-11-15 16:55:35 +04:00
parent bc4f8317ff
commit ffe04bbea8

View file

@ -465,6 +465,10 @@ ngx_rtmp_live_join(ngx_rtmp_session_t *s, u_char *name, unsigned publisher)
if ((*stream)->publishing) {
ngx_log_error(NGX_LOG_ERR, s->connection->log, 0,
"live: already publishing");
ngx_rtmp_send_status(s, "NetStream.Publish.BadName", "error",
"Already publishing");
return;
}