Package com.flashphoner.fpwcsapi.session
Class StreamObject
java.lang.Object
com.flashphoner.fpwcsapi.bean.CustomObject
com.flashphoner.fpwcsapi.session.AbstractStreamOptions
com.flashphoner.fpwcsapi.session.StreamObject
StreamObject
-
Constructor Summary
ConstructorDescriptionStreamObject
(String mediaSessionId, StreamOptions streamOptions) New Stream properties -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
getInfo()
int
getSdp()
int
getWidth()
int
hashCode()
boolean
boolean
void
setAudioState
(MediaState audioState) void
setBitrate
(int bitrate) void
setHasAudio
(Boolean hasAudio) void
setHasVideo
(boolean hasVideo) void
setHeight
(int height) void
protected void
setMediaProvider
(MediaProvider mediaProvider) void
setPublished
(boolean published) void
setQuality
(int quality) void
setRecordName
(String recordName) void
setRemoteMediaElementId
(String remoteMediaElementId) void
setRtmpUrl
(String url) void
void
setStatus
(StreamStatus status) void
setTransport
(Transport transport) void
setVideoState
(MediaState videoState) void
setWidth
(int width) toString()
Methods inherited from class com.flashphoner.fpwcsapi.session.AbstractStreamOptions
getName, isRecord, setName, setRecord
Methods inherited from class com.flashphoner.fpwcsapi.bean.CustomObject
getCustom, getCustomAsBoolean, getCustomAsContext, getCustomAsInteger, getCustomAsList, getCustomAsNumber, getCustomAsString, removeCustom, setCustom, setCustom
-
Constructor Details
-
StreamObject
public StreamObject() -
StreamObject
New Stream properties- Parameters:
streamOptions
-
-
-
Method Details
-
getMediaProvider
-
setMediaProvider
-
getMediaSessionId
-
isPublished
public boolean isPublished() -
setPublished
public void setPublished(boolean published) -
isHasVideo
public boolean isHasVideo() -
setHasVideo
public void setHasVideo(boolean hasVideo) -
getStatus
-
setStatus
-
getSdp
-
setSdp
-
getInfo
-
setInfo
-
setRecordName
-
getRecordName
-
setWidth
public void setWidth(int width) -
getWidth
public int getWidth() -
setHeight
public void setHeight(int height) -
getHeight
public int getHeight() -
getBitrate
public int getBitrate() -
setBitrate
public void setBitrate(int bitrate) -
getQuality
public int getQuality() -
setQuality
public void setQuality(int quality) -
getAudioState
-
setAudioState
-
getVideoState
-
setVideoState
-
equals
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classCustomObject
-
getRemoteMediaElementId
-
setRemoteMediaElementId
-
isHasAudio
-
setHasAudio
-
setRtmpUrl
-
getRtmpUrl
-
getTransport
-
setTransport
-