Class AbstractClientStream

    • Constructor Detail

      • AbstractClientStream

        public AbstractClientStream()
    • Method Detail

      • setStreamId

        public void setStreamId​(Number streamId)
        Setter for stream id
        Parameters:
        streamId - Stream id
      • setConnection

        public void setConnection​(IStreamCapableConnection conn)
        Setter for stream capable connection
        Parameters:
        conn - IStreamCapableConnection object
      • setClientBufferDuration

        public void setClientBufferDuration​(int duration)
        Set the buffer duration for this stream as requested by the client.
        Specified by:
        setClientBufferDuration in interface IClientStream
        Parameters:
        duration - duration in ms the client wants to buffer
      • getClientBufferDuration

        public int getClientBufferDuration()
        Get duration in ms as requested by the client.
        Specified by:
        getClientBufferDuration in interface IClientStream
        Returns:
        value
      • setBroadcastStreamPublishName

        public void setBroadcastStreamPublishName​(String broadcastStreamPublishName)
        Sets the broadcasting streams name.
        Specified by:
        setBroadcastStreamPublishName in interface IClientStream
        Parameters:
        broadcastStreamPublishName - name of the broadcasting stream
      • getBroadcastStreamPublishName

        public String getBroadcastStreamPublishName()
        Returns the published stream name that this client is consuming.
        Specified by:
        getBroadcastStreamPublishName in interface IClientStream
        Returns:
        stream name of stream being consumed