CSharpRTMP.Core.Streaming.StreamsManager.GetWaitingSubscribers C# (CSharp) Method

GetWaitingSubscribers() public method

public GetWaitingSubscribers ( string streamName, ulong inboundStreamType ) : IEnumerable
streamName string
inboundStreamType ulong
return IEnumerable
        public IEnumerable<IOutStream> GetWaitingSubscribers(string streamName, ulong inboundStreamType)
        {
            if (((inboundStreamType) & StreamTypes.ST_IN.GetTagMask()) != StreamTypes.ST_IN)
                return new List<IOutStream>();
            var shortName = streamName.Split('?')[0];
            return FindByTypeByName(StreamTypes.ST_OUT, shortName, true, false)
                .Concat(FindByTypeByName(StreamTypes.ST_OUT, streamName, true, false))
                .Select(x => x.Value).OfType<IOutStream>()
                .Where(
                    x => !x.IsLinked && x.IsCompatibleWithType(inboundStreamType));
        }
        public Dictionary<uint, IStream> FindByName(string name, bool partial)