Ejemplo n.º 1
0
        public static PlaySyncInfo DeserializeObject(byte[] bytes)
        {
            PlaySyncInfo pi = new PlaySyncInfo();

            pi.Deserialize(bytes);
            return(pi);
        }
Ejemplo n.º 2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            PlaySyncInfo psi = obj as PlaySyncInfo;

            if (psi == null)
            {
                return(false);
            }
            return(psi.ReceiveIp == this.ReceiveIp && psi.ReceiveRTPPort == this.ReceiveRTPPort);
        }