Package io.openvidu.java.client
Class Publisher
- java.lang.Object
-
- io.openvidu.java.client.Publisher
-
public class Publisher extends Object
SeeConnection.getPublishers().
This is a backend representation of a published media stream (see OpenVidu Browser Stream class ).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreatedAt()Timestamp when this Publisher started publishing, in UTC milliseconds (ms since Jan 1, 1970, 00:00:00 UTC)IntegergetFrameRate()See properties of Stream object in OpenVidu Browser library to find out moreStringgetStreamId()Returns the unique identifier of the Stream associated to this Publisher.StringgetTypeOfVideo()See properties of Stream object in OpenVidu Browser library to find out moreStringgetVideoDimensions()See properties of Stream object in OpenVidu Browser library to find out morebooleanhasAudio()See properties of Stream object in OpenVidu Browser library to find out morebooleanhasVideo()See properties of Stream object in OpenVidu Browser library to find out moreBooleanisAudioActive()See properties of Stream object in OpenVidu Browser library to find out moreBooleanisVideoActive()See properties of Stream object in OpenVidu Browser library to find out more
-
-
-
Method Detail
-
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 itsStream.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
-
-