ScreenShareOutgoingVideoStream Class
- java.
lang. Object - CallVideoStream
- OutgoingVideoStream
- RawOutgoingVideoStream
- com.
azure. android. communication. calling. ScreenShareOutgoingVideoStream
- com.
public class ScreenShareOutgoingVideoStream extends RawOutgoingVideoStream
Screen Share stream information
Constructor Summary
Constructor | Description |
---|---|
ScreenShareOutgoingVideoStream(RawOutgoingVideoStreamOptions videoStreamOptions) |
Constructor used to create an instance of a stream that send's screen frames |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Adds the specified listener to receive OnFormatChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed. |
void |
addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed. |
void |
removeOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Removes the specified listener to receive OnFormatChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed. |
void |
removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed. |
Inherited Members
Constructor Details
ScreenShareOutgoingVideoStream
public ScreenShareOutgoingVideoStream(RawOutgoingVideoStreamOptions videoStreamOptions)
Constructor used to create an instance of a stream that send's screen frames
Parameters:
Method Details
addOnFormatChangedListener
public void addOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Adds the specified listener to receive OnFormatChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed.
Parameters:
addOnStateChangedListener
public void addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed.
Parameters:
removeOnFormatChangedListener
public void removeOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Removes the specified listener to receive OnFormatChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed.
Parameters:
removeOnStateChangedListener
public void removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events. Registers the event notifying the application that the OutgoingVideoStreamState has changed.
Parameters: