PlayerProxy: 减少一次MediaSink数据过滤,提高性能

This commit is contained in:
ziyue 2021-11-10 13:56:58 +08:00
parent b7e187d7af
commit 6f92ef2f3b

View File

@ -29,6 +29,7 @@ PlayerProxy::PlayerProxy(const string &vhost, const string &app, const string &s
_enable_mp4 = enable_mp4;
_retry_count = retry_count;
_on_close = [](const SockException &) {};
(*this)[Client::kWaitTrackReady] = false;
}
void PlayerProxy::setPlayCallbackOnce(const function<void(const SockException &ex)> &cb) {