Class Publisher

java.lang.Object
io.openvidu.java.client.Publisher

public class Publisher extends Object
See Connection.getPublishers().
This is a backend representation of a published media stream (see OpenVidu Browser Stream class ).
  • Method Details

    • getStreamId

      public String getStreamId()
      Returns the unique identifier of the Stream associated to this Publisher. Each Publisher is paired with only one Stream, so you can identify each Publisher by its Stream.streamId
    • createdAt

      public long createdAt()
      Timestamp when this Publisher started publishing, in UTC milliseconds (ms since Jan 1, 1970, 00:00:00 UTC)
    • hasVideo

      public boolean hasVideo()
      See properties of Stream object in OpenVidu Browser library to find out more
    • hasAudio

      public boolean hasAudio()
      See properties of Stream object in OpenVidu Browser library to find out more
    • isAudioActive

      public Boolean isAudioActive()
      See properties of Stream object in OpenVidu Browser library to find out more
    • isVideoActive

      public Boolean isVideoActive()
      See properties of Stream object in OpenVidu Browser library to find out more
    • getFrameRate

      public Integer getFrameRate()
      See properties of Stream object in OpenVidu Browser library to find out more
    • getTypeOfVideo

      public String getTypeOfVideo()
      See properties of Stream object in OpenVidu Browser library to find out more
    • getVideoDimensions

      public String getVideoDimensions()
      See properties of Stream object in OpenVidu Browser library to find out more