Class KStream

    • Method Detail

      • checkFlowOutEventForStopping

        protected boolean checkFlowOutEventForStopping​(org.kurento.client.MediaType mediaType)
        Invoked in case stream stops to decide on if this stream is worth stopping. Stop broadcast in case: - If mediaType is anything other then MediaType.AUDIO - If type Audio stop in case it has no Video attached
        Parameters:
        mediaType - the MediaType that stopped flowing
        Returns:
        true in case this stream should be dropped
      • broadcastRestarted

        public void broadcastRestarted()
      • startRecord

        public void startRecord()
      • stopRecord

        public void stopRecord()
      • remove

        public void remove​(Client c)
      • stopBroadcast

        public void stopBroadcast()
      • pauseSharing

        public void pauseSharing()
      • addIceCandidate

        public void addIceCandidate​(org.kurento.client.IceCandidate candidate,
                                    String uid)
      • getConnectedSince

        public Date getConnectedSince()
      • getRoomId

        public Long getRoomId()
      • getProfile

        public org.kurento.client.MediaProfileSpecType getProfile()
      • getRecorder

        public org.kurento.client.RecorderEndpoint getRecorder()
      • getChunkId

        public Long getChunkId()
      • contains

        public boolean contains​(String uid)