Send feature flags in RTSP DESCRIBE response

This commit is contained in:
Cameron Gutman
2023-06-25 17:40:25 -05:00
parent d3578e9711
commit 1ef8cb1111
5 changed files with 46 additions and 0 deletions

View File

@@ -492,6 +492,10 @@ namespace rtsp_stream {
option.content = const_cast<char *>(seqn_str.c_str());
std::stringstream ss;
// Tell the client about our supported features
ss << "a=x-ss-general.featureFlags: " << (uint32_t) platf::get_capabilities();
if (video::active_hevc_mode != 1) {
ss << "sprop-parameter-sets=AAAAAU"sv << std::endl;
}