Beispiel #1
0
        public PayloadChannel CreateChannel(PayloadType aType)
        {
            PayloadChannel aChannel = new PayloadChannel(aType);
            AddChannel(aChannel);

            return aChannel;
        }
Beispiel #2
0
        public GraphicsChannel(IGraphPort localRenderer, PayloadChannel channel)
        {
            fCollaborationChannel = channel;

            fRenderer = localRenderer;

            fChunkDecoder = new GraphPortChunkDecoder();
            fChunkDecoder.AddGraphPort(fRenderer);

            // Create the sending graph port
            fChunkEncoder = new GraphPortChunkEncoder();
            fChunkEncoder.ChunkPackedEvent += new GraphPortChunkEncoder.ChunkPacked(GDIChunkPacked);
            AddGraphPort(fChunkEncoder);
            
            // send the frame to the receiver
            fCollaborationChannel.FrameReceivedEvent += new RtpStream.FrameReceivedEventHandler(GDICommandReceived);
        }
Beispiel #3
0
 public virtual void AddChannel(PayloadChannel aChannel)
 {
     aChannel.JoinSession(fRtpSession, fUniqueSessionName);
 }