Package io.openvidu.java.client
Class Publisher
java.lang.Object
io.openvidu.java.client.Publisher
See
This is a backend representation of a published media stream (see OpenVidu Browser Stream class ).
Connection.getPublishers()
.
This is a backend representation of a published media stream (see OpenVidu Browser Stream class ).
-
Method Summary
Modifier and TypeMethodDescriptionlong
Timestamp when this Publisher started publishing, in UTC milliseconds (ms since Jan 1, 1970, 00:00:00 UTC)See properties of Stream object in OpenVidu Browser library to find out moreReturns the unique identifier of the Stream associated to this Publisher.See properties of Stream object in OpenVidu Browser library to find out moreSee properties of Stream object in OpenVidu Browser library to find out moreboolean
hasAudio()
See properties of Stream object in OpenVidu Browser library to find out moreboolean
hasVideo()
See properties of Stream object in OpenVidu Browser library to find out moreSee properties of Stream object in OpenVidu Browser library to find out moreSee properties of Stream object in OpenVidu Browser library to find out more
-
Method Details
-
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
See properties of Stream object in OpenVidu Browser library to find out more -
isVideoActive
See properties of Stream object in OpenVidu Browser library to find out more -
getFrameRate
See properties of Stream object in OpenVidu Browser library to find out more -
getTypeOfVideo
See properties of Stream object in OpenVidu Browser library to find out more -
getVideoDimensions
See properties of Stream object in OpenVidu Browser library to find out more
-