public PayloadChannel CreateChannel(PayloadType aType) { PayloadChannel aChannel = new PayloadChannel(aType); AddChannel(aChannel); return aChannel; }
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); }
public virtual void AddChannel(PayloadChannel aChannel) { aChannel.JoinSession(fRtpSession, fUniqueSessionName); }