Class CallVideoStream

  • Direct Known Subclasses:
    IncomingVideoStream, OutgoingVideoStream

    public abstract class CallVideoStream
    extends Object
    Base class for all Video streams which contains logic for rendering a Video and/or provide video frames
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • getType

        public VideoStreamType getType()
        Get the type of the derived class
      • getSourceType

        public VideoStreamSourceType getSourceType()
        Get VideoStreamSourceType of the current CallVideoStream
      • getState

        public VideoStreamState getState()
        Informs the current running state of this CallVideoStream. It might change during the call due network conditions or other events.
      • getDirection

        public StreamDirection getDirection()
        Informs if the video is Incoming or Outgoing
      • getMediaStreamType

        @Deprecated
        public MediaStreamType getMediaStreamType()
        Deprecated.
        Use SourceType instead
        MediaStream type of the current remote video stream (Video or ScreenShare).
      • getId

        public int getId()
        Unique Identifier of the current remote video stream.