Ejemplo n.º 1
0
        private void PostChannelInfo(AtomCollection parent, Channel channel)
        {
            var atom = new AtomCollection();

            atom.SetChanID(channel.ChannelID);
            atom.SetChanBCID(PeerCast.BroadcastID);
            if (channel.ChannelInfo != null)
            {
                atom.SetChanInfo(channel.ChannelInfo.Extra);
            }
            if (channel.ChannelTrack != null)
            {
                atom.SetChanTrack(channel.ChannelTrack.Extra);
            }
            parent.SetChan(atom);
        }
Ejemplo n.º 2
0
 private void PostChannelInfo(AtomCollection parent, Channel channel)
 {
     var atom = new AtomCollection();
       atom.SetChanID(channel.ChannelID);
       atom.SetChanBCID(PeerCast.BroadcastID);
       if (channel.ChannelInfo!=null)  atom.SetChanInfo(channel.ChannelInfo.Extra);
       if (channel.ChannelTrack!=null) atom.SetChanTrack(channel.ChannelTrack.Extra);
       parent.SetChan(atom);
 }