Skip to content

Commit

Permalink
レベルは1個でも良さそう
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed May 1, 2024
1 parent b4421be commit 0175817
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/default_video_formats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,7 @@ std::vector<webrtc::SdpVideoFormat> GetDefaultVideoFormats(
webrtc::H264Profile::kProfileConstrainedBaseline,
webrtc::H264Profile::kProfileMain,
}) {
for (auto level : {
webrtc::H264Level::kLevel3_1,
webrtc::H264Level::kLevel3_2,
webrtc::H264Level::kLevel4,
webrtc::H264Level::kLevel4_1,
webrtc::H264Level::kLevel4_2,
webrtc::H264Level::kLevel5,
webrtc::H264Level::kLevel5_1,
webrtc::H264Level::kLevel5_2,
}) {
for (auto level : {webrtc::H264Level::kLevel3_1}) {
for (auto mode : {0, 1}) {
r.push_back(CreateH264Format(profile, level, std::to_string(mode)));
}
Expand Down

0 comments on commit 0175817

Please sign in to comment.