PlayerProxy: 减少一次MediaSink数据过滤,提高性能
This commit is contained in:
parent
b7e187d7af
commit
6f92ef2f3b
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue