public class VideoSubscriptionOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
encodedFrameOnly
Flag to indicate if only encoded frames should be subscribed.
|
private int |
type
Type of video subscription.
|
| Constructor and Description |
|---|
VideoSubscriptionOptions()
Default constructor.
|
VideoSubscriptionOptions(int type,
int encodedFrameOnly)
Constructor with parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEncodedFrameOnly()
Gets the flag for encoded frame only subscription.
|
int |
getType()
Gets the type of video subscription.
|
void |
setEncodedFrameOnly(int encodedFrameOnly)
Sets the flag for encoded frame only subscription.
|
void |
setType(int type)
Sets the type of video subscription.
|
java.lang.String |
toString()
Returns a string representation of the VideoSubscriptionOptions object.
|
private int type
private int encodedFrameOnly
public VideoSubscriptionOptions()
public VideoSubscriptionOptions(int type,
int encodedFrameOnly)
type - Type of video subscriptionencodedFrameOnly - Flag to indicate if only encoded frames should be subscribedpublic int getType()
public void setType(int type)
type - Type of video subscriptionpublic int getEncodedFrameOnly()
public void setEncodedFrameOnly(int encodedFrameOnly)
encodedFrameOnly - Flag to indicate if only encoded frames should be subscribedpublic java.lang.String toString()
toString in class java.lang.Object