mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code
This commit is contained in:
parent
92c8c0505d
commit
366d6bcb82
7 changed files with 41 additions and 12 deletions
|
@ -2767,7 +2767,7 @@ int SrsRtmpServer::identify_client(int stream_id, SrsRtmpConnType& type, string&
|
|||
}
|
||||
|
||||
// For encoder of Haivision, it always send a _checkbw call message.
|
||||
// @Remark the next message is createStream, so we continue to identify it.
|
||||
// @remark the next message is createStream, so we continue to identify it.
|
||||
// @see https://github.com/ossrs/srs/issues/844
|
||||
if (call->command_name == "_checkbw") {
|
||||
srs_info("Haivision encoder identified.");
|
||||
|
|
|
@ -726,8 +726,8 @@ public:
|
|||
* @param app, The app to connect at, for example, live.
|
||||
* @param tcUrl, The tcUrl to connect at, for example, rtmp://ossrs.net/live.
|
||||
* @param req, the optional req object, use the swfUrl/pageUrl if specified. NULL to ignore.
|
||||
* @Param dsu, Whether debug SRS upnode. For edge, set to true to send its info to upnode.
|
||||
* @Param si, The server information, retrieve from response of connect app request. NULL to ignore.
|
||||
* @param dsu, Whether debug SRS upnode. For edge, set to true to send its info to upnode.
|
||||
* @param si, The server information, retrieve from response of connect app request. NULL to ignore.
|
||||
*/
|
||||
virtual int connect_app(std::string app, std::string tcUrl, SrsRequest* r, bool dsu, SrsServerInfo* si);
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue