1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/src/app/srs_app_reload.cpp

223 lines
4.8 KiB
C++
Raw Normal View History

2017-03-25 09:21:39 +00:00
/**
* The MIT License (MIT)
*
2019-01-01 13:37:28 +00:00
* Copyright (c) 2013-2019 Winlin
2017-03-25 09:21:39 +00:00
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
2013-11-23 03:36:07 +00:00
#include <srs_app_reload.hpp>
2013-11-23 03:36:07 +00:00
2013-12-15 04:04:28 +00:00
using namespace std;
#include <srs_kernel_error.hpp>
2013-11-23 03:36:07 +00:00
ISrsReloadHandler::ISrsReloadHandler()
2013-11-23 03:36:07 +00:00
{
}
ISrsReloadHandler::~ISrsReloadHandler()
2013-11-23 03:36:07 +00:00
{
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_listen()
2013-11-23 03:36:07 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2013-11-23 03:36:07 +00:00
}
srs_error_t ISrsReloadHandler::on_reload_utc_time()
{
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_max_conns()
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_pid()
2014-04-12 12:46:32 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-12 12:46:32 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_log_tank()
2014-04-12 13:35:26 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-12 13:35:26 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_log_level()
2014-04-12 13:35:26 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-12 13:35:26 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_log_file()
2014-04-12 13:35:26 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-12 13:35:26 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_pithy_print()
2013-11-23 03:36:07 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2013-11-23 03:36:07 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_api_enabled()
2014-04-13 05:08:10 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:08:10 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_api_disabled()
2014-04-13 05:08:10 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:08:10 +00:00
}
2017-07-29 13:39:57 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_api_crossdomain()
{
2017-07-29 13:39:57 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_api_raw_api()
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_stream_enabled()
2014-04-13 05:27:51 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:27:51 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_stream_disabled()
2014-04-13 05:27:51 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:27:51 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_stream_updated()
2014-04-13 05:27:51 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:27:51 +00:00
}
2017-07-29 13:39:57 +00:00
srs_error_t ISrsReloadHandler::on_reload_http_stream_crossdomain()
{
2017-07-29 13:39:57 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_http_updated()
2014-04-13 05:27:51 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-13 05:27:51 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_http_remux_updated(string vhost)
2015-01-18 10:00:40 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2015-01-18 10:00:40 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_added(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_removed(string /*vhost*/)
2013-12-15 04:04:28 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2013-12-15 04:04:28 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_play(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_forward(string /*vhost*/)
2013-12-15 04:08:01 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2013-12-15 04:08:01 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_dash(string /*vhost*/)
2017-02-11 13:14:28 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2017-02-11 13:14:28 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_hls(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_hds(string /*vhost*/)
2015-03-12 14:38:11 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2015-03-12 14:38:11 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_dvr(string /*vhost*/)
2014-04-17 08:22:21 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_dvr_apply(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-04-17 08:22:21 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_publish(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_tcp_nodelay(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_realtime(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_chunk_size(string /*vhost*/)
2014-12-06 11:56:06 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2014-12-06 11:56:06 +00:00
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_transcode(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_vhost_exec(string /*vhost*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_ingest_removed(string /*vhost*/, string /*ingest_id*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_ingest_added(string /*vhost*/, string /*ingest_id*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_ingest_updated(string /*vhost*/, string /*ingest_id*/)
{
2017-09-22 08:14:30 +00:00
return srs_success;
}
2017-09-22 08:14:30 +00:00
srs_error_t ISrsReloadHandler::on_reload_user_info()
2015-03-31 10:06:55 +00:00
{
2017-09-22 08:14:30 +00:00
return srs_success;
2015-03-31 10:06:55 +00:00
}
2014-08-02 14:18:39 +00:00