Blame view

trunk/src/app/srs_app_reload.cpp 4.3 KB
winlin authored
1 2 3
/*
The MIT License (MIT)
4
Copyright (c) 2013-2015 SRS(simple-rtmp-server)
winlin authored
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

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.
*/
24
#include <srs_app_reload.hpp>
winlin authored
25
winlin authored
26 27
using namespace std;
28
#include <srs_kernel_error.hpp>
winlin authored
29
30
ISrsReloadHandler::ISrsReloadHandler()
winlin authored
31 32 33
{
}
34
ISrsReloadHandler::~ISrsReloadHandler()
winlin authored
35 36 37
{
}
38
int ISrsReloadHandler::on_reload_listen()
winlin authored
39
{
40
    return ERROR_SUCCESS;
winlin authored
41 42
}
43 44 45 46 47
int ISrsReloadHandler::on_reload_max_conns()
{
    return ERROR_SUCCESS;
}
winlin authored
48 49 50 51 52
int ISrsReloadHandler::on_reload_pid()
{
    return ERROR_SUCCESS;
}
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
int ISrsReloadHandler::on_reload_log_tank()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_log_level()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_log_file()
{
    return ERROR_SUCCESS;
}
68
int ISrsReloadHandler::on_reload_pithy_print()
winlin authored
69
{
70
    return ERROR_SUCCESS;
winlin authored
71 72
}
winlin authored
73 74 75 76 77 78 79 80 81 82
int ISrsReloadHandler::on_reload_http_api_enabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_api_disabled()
{
    return ERROR_SUCCESS;
}
winlin authored
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
int ISrsReloadHandler::on_reload_http_stream_enabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_stream_disabled()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_http_stream_updated()
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_vhost_http_updated()
{
    return ERROR_SUCCESS;
}
103
int ISrsReloadHandler::on_reload_vhost_http_remux_updated(string vhost)
winlin authored
104 105 106 107
{
    return ERROR_SUCCESS;
}
108 109 110 111 112
int ISrsReloadHandler::on_reload_vhost_added(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
winlin authored
113 114
int ISrsReloadHandler::on_reload_vhost_removed(string /*vhost*/)
{
115
    return ERROR_SUCCESS;
winlin authored
116 117
}
118
int ISrsReloadHandler::on_reload_vhost_atc(string /*vhost*/)
winlin authored
119 120 121 122
{
    return ERROR_SUCCESS;
}
123
int ISrsReloadHandler::on_reload_vhost_gop_cache(string /*vhost*/)
124
{
125
    return ERROR_SUCCESS;
126 127
}
128
int ISrsReloadHandler::on_reload_vhost_queue_length(string /*vhost*/)
winlin authored
129
{
130
    return ERROR_SUCCESS;
winlin authored
131 132
}
133 134 135 136 137
int ISrsReloadHandler::on_reload_vhost_time_jitter(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
138 139 140 141 142
int ISrsReloadHandler::on_reload_vhost_mix_correct(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
143
int ISrsReloadHandler::on_reload_vhost_forward(string /*vhost*/)
winlin authored
144
{
145
    return ERROR_SUCCESS;
winlin authored
146 147
}
148
int ISrsReloadHandler::on_reload_vhost_hls(string /*vhost*/)
149
{
150
    return ERROR_SUCCESS;
151 152
}
153 154 155 156 157
int ISrsReloadHandler::on_reload_vhost_hds(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
winlin authored
158 159 160 161 162
int ISrsReloadHandler::on_reload_vhost_dvr(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
163 164 165 166 167
int ISrsReloadHandler::on_reload_vhost_mr(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
168 169 170 171 172
int ISrsReloadHandler::on_reload_vhost_mw(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
173 174 175 176 177
int ISrsReloadHandler::on_reload_vhost_realtime(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
178 179 180 181 182
int ISrsReloadHandler::on_reload_vhost_chunk_size(string /*vhost*/)
{
    return ERROR_SUCCESS;
}
183
int ISrsReloadHandler::on_reload_vhost_transcode(string /*vhost*/)
184
{
185
    return ERROR_SUCCESS;
186 187
}
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
int ISrsReloadHandler::on_reload_ingest_removed(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_ingest_added(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}

int ISrsReloadHandler::on_reload_ingest_updated(string /*vhost*/, string /*ingest_id*/)
{
    return ERROR_SUCCESS;
}
203 204 205 206
int ISrsReloadHandler::on_reload_user_info()
{
    return ERROR_SUCCESS;
}
207