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 long
createdAt()
Timestamp when this Publisher started publishing, in UTC milliseconds (ms since Jan 1, 1970, 00:00:00 UTC)Integer
getFrameRate()
See properties of Stream object in OpenVidu Browser library to find out moreString
getStreamId()
Returns the unique identifier of the Stream associated to this Publisher.String
getTypeOfVideo()
See properties of Stream object in OpenVidu Browser library to find out moreString
getVideoDimensions()
See 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 moreBoolean
isAudioActive()
See properties of Stream object in OpenVidu Browser library to find out moreBoolean
isVideoActive()
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
-
-