mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
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
Block a user