BugFix DeviceSource: shared access to stream vis Device::manager

Creation of multiple DeviceSources is possible (also for multiple sessions and transitions) through centralized management of gst streams. Creation and deletion of a shared stream accross DeviceSources is handled.
This commit is contained in:
Bruno Herbelin
2022-01-20 01:28:30 +01:00
parent 625e2305ba
commit b82c83de5e
6 changed files with 208 additions and 139 deletions

View File

@@ -153,6 +153,10 @@ SourceList join (const SourceList &first, const SourceList &second)
SourceLink::SourceLink(Source *s): host_(nullptr), target_(nullptr), id_(0)
{
connect(s);
}
void SourceLink::connect(uint64_t id, Session *se)
{