chore: use default stream profile

This commit is contained in:
Joe Dong
2024-05-09 11:34:03 +08:00
parent 26a17959ff
commit b6a6304a2a
5 changed files with 1329 additions and 65 deletions
+3
View File
@@ -260,6 +260,9 @@ std::string getObSDKVersion() {
}
OBFormat OBFormatFromString(const std::string &format) {
if (format.empty()) {
return OB_FORMAT_UNKNOWN;
}
std::string fixed_format;
std::transform(format.begin(), format.end(), std::back_inserter(fixed_format),
[](const auto ch) { return std::isalpha(ch) ? toupper(ch) : ch; });