mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge SRS2
This commit is contained in:
commit
1054b0a90f
5 changed files with 110 additions and 1 deletions
|
@ -583,6 +583,16 @@ int SrsRtmpConn::stream_service_cycle()
|
|||
|
||||
return publishing(source);
|
||||
}
|
||||
case SrsRtmpConnHaivisionPublish: {
|
||||
srs_verbose("Haivision start to publish stream %s.", req->stream.c_str());
|
||||
|
||||
if ((ret = rtmp->start_haivision_publish(res->stream_id)) != ERROR_SUCCESS) {
|
||||
srs_error("start to publish stream failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
return publishing(source);
|
||||
}
|
||||
case SrsRtmpConnFlashPublish: {
|
||||
srs_verbose("flash start to publish stream %s.", req->stream.c_str());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue