diff --git a/src/Http/HttpTSPlayer.cpp b/src/Http/HttpTSPlayer.cpp index 60b9bf77..5b2f2471 100644 --- a/src/Http/HttpTSPlayer.cpp +++ b/src/Http/HttpTSPlayer.cpp @@ -26,7 +26,7 @@ void HttpTSPlayer::onResponseHeader(const string &status, const HttpClient::Http } auto content_type = strToLower(const_cast(header)["Content-Type"]); - if (content_type.find("video/mp2t") != 0 && content_type.find("video/mpeg") != 0) { + if (content_type.find("video/mp2t") != 0 && content_type.find("video/mpeg") != 0 && content_type.find("application/octet-stream") != 0) { WarnL << "may not a mpeg-ts video: " << content_type << ", url: " << getUrl(); } }