| 239 | } |
| 240 | |
| 241 | void StreamerGroup::ClearInactiveStreamers(int tag) |
| 242 | { |
| 243 | auto& pool = _pools.at(tag); |
| 244 | |
| 245 | pool.erase( |
| 246 | std::remove_if( |
| 247 | pool.begin(), pool.end(), |
| 248 | [](const auto& streamer) |
| 249 | { |
| 250 | return streamer.GetSegments().empty(); |
| 251 | }), |
| 252 | pool.end()); |
| 253 | } |
| 254 | |
| 255 | const std::unordered_map<int, StreamerGroup>& StreamerEffectController::GetGroups() const |
| 256 | { |