mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
rename srs-client to srs-rtmp-conn
This commit is contained in:
parent
aa89f9f51e
commit
ab3c6c92a0
6 changed files with 62 additions and 57 deletions
|
@ -39,11 +39,16 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
class SrsServer;
|
||||
class SrsConnection;
|
||||
|
||||
// listener type for server to identify the connection,
|
||||
// that is, use different type to process the connection.
|
||||
enum SrsListenerType
|
||||
{
|
||||
SrsListenerStream = 0,
|
||||
SrsListenerHttpApi,
|
||||
SrsListenerHttpStream
|
||||
// RTMP client,
|
||||
SrsListenerRtmpStream = 0,
|
||||
// HTTP api,
|
||||
SrsListenerHttpApi = 1,
|
||||
// HTTP stream, HDS/HLS/DASH
|
||||
SrsListenerHttpStream = 2
|
||||
};
|
||||
|
||||
class SrsListener : public ISrsThreadHandler
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue