Send feature flags in RTSP DESCRIBE response
This commit is contained in:
parent
d3578e9711
commit
1ef8cb1111
5 changed files with 46 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue