1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

RTC: Refine resouce management

This commit is contained in:
winlin 2020-09-19 10:30:05 +08:00
parent 1173d35e33
commit 64705d1cc8
29 changed files with 364 additions and 177 deletions

View file

@ -1011,6 +1011,11 @@ std::string SrsGb28181RtmpMuxer::remote_ip()
return "";
}
std::string SrsGb28181RtmpMuxer::desc()
{
return "GBConn";
}
std::string SrsGb28181RtmpMuxer::get_channel_id()
{
return channel_id;
@ -1890,7 +1895,7 @@ SrsGb28181Manger::SrsGb28181Manger(SrsServer *s, SrsConfDirective* c)
// TODO: FIXME: support reload.
server = s;
config = new SrsGb28181Config(c);
manager = new SrsConnectionManager();
manager = new SrsResourceManager("GB28181");
}
SrsGb28181Manger::~SrsGb28181Manger()