CSharpRTMP.Core.Protocols.Rtmp.GenericMessageFactory.GetNotify C# (CSharp) Method

GetNotify() public static method

public static GetNotify ( uint channelId, uint streamId, double timeStamp, bool isAbsolute, string handlerName, Variant args ) : AmfMessage
channelId uint
streamId uint
timeStamp double
isAbsolute bool
handlerName string
args Variant
return AmfMessage
        public static AmfMessage GetNotify(uint channelId, uint streamId, double timeStamp, bool isAbsolute,
            string handlerName, Variant args)
        {
            AmfMessage result;
            result.Header =
                VH(HeaderType.HT_FULL, channelId, (uint) timeStamp, 0, Defines.RM_HEADER_MESSAGETYPE_NOTIFY,
                    streamId,
                    isAbsolute);
            result.Body = Variant.Get();
            result.Body[Defines.RM_NOTIFY, Defines.RM_NOTIFY_PARAMS] = Variant.GetList(handlerName);
            foreach (var item in args.Children.Values)
                result.Body[Defines.RM_NOTIFY, Defines.RM_NOTIFY_PARAMS].Add(item);
            return result;
        }
        public static AmfMessage GetInvoke(uint channelId, uint streamId, double timeStamp, bool isAbsolute,