Пример #1
0
 public StreamInfo GetStreamInfo(VideoStream stream) => currentStreams.ContainsKey(stream) ? currentStreams[stream] : null;
Пример #2
0
 public StreamInfo GetStreamInfo(VideoStream stream) => currentStreams.TryGetValue(stream, out var streamInfo) ? streamInfo : null;