Class VirtualOutgoingVideoStream
- Object
-
- CallVideoStream
-
- OutgoingVideoStream
-
- RawOutgoingVideoStream
-
- VirtualOutgoingVideoStream
-
public final class VirtualOutgoingVideoStream extends RawOutgoingVideoStream
Virtual stream information
-
-
Constructor Summary
Constructors Constructor Description VirtualOutgoingVideoStream(RawOutgoingVideoStreamOptions videoStreamOptions)
Constructor used to create an instance of a stream that send's generated frames from external sources
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Adds the specified listener to receive OnFormatChanged events.void
addOnStateChangedListener(VideoStreamStateChangedListener listener)
Adds the specified listener to receive OnStateChanged events.void
removeOnFormatChangedListener(VideoStreamFormatChangedListener listener)
Removes the specified listener to receive OnFormatChanged events.void
removeOnStateChangedListener(VideoStreamStateChangedListener listener)
Removes the specified listener to receive OnStateChanged events.-
Methods inherited from class RawOutgoingVideoStream
getFormat, getTimestampInTicks, sendRawVideoFrame
-
Methods inherited from class CallVideoStream
finalize, getDirection, getId, getMediaStreamType, getSourceType, getState, getType
-
-
-
-
Constructor Detail
-
VirtualOutgoingVideoStream
public VirtualOutgoingVideoStream(RawOutgoingVideoStreamOptions videoStreamOptions)
Constructor used to create an instance of a stream that send's generated frames from external sources- Parameters:
videoStreamOptions
- Video options to be used on order to send the frames properly.
-
-
Method Detail
-
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.
-
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.
-
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.
-
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.
-
-