diff --git a/tests/test_bench_proxy.cpp b/tests/test_bench_proxy.cpp index c0f1fceb..755178ef 100644 --- a/tests/test_bench_proxy.cpp +++ b/tests/test_bench_proxy.cpp @@ -133,6 +133,7 @@ int main(int argc, char *argv[]) { map proxyMap; ProtocolOption option; + option.enable_fmp4 = false; option.enable_hls = false; option.enable_mp4 = false; for (auto i = 0; i < proxy_count; ++i) { diff --git a/tests/test_pusher.cpp b/tests/test_pusher.cpp index 025cdd0f..72c8c3f2 100644 --- a/tests/test_pusher.cpp +++ b/tests/test_pusher.cpp @@ -77,8 +77,10 @@ int domain(const string &playUrl, const string &pushUrl) { MediaInfo info(pushUrl); ProtocolOption option; + option.enable_fmp4 = false; option.enable_hls = false; option.enable_mp4 = false; + PlayerProxy::Ptr player(new PlayerProxy(DEFAULT_VHOST, "app", "stream", option, -1, poller)); //可以指定rtsp拉流方式,支持tcp和udp方式,默认tcp // (*player)[Client::kRtpType] = Rtsp::RTP_UDP;