Class VideoChannel

  • All Implemented Interfaces:
    MediaChannel

    public class VideoChannel
    extends java.lang.Object
    implements MediaChannel
    Interface representing information associated with a video channel. For a 2-party call, there may be a single video channel instance representing the bidirectional video stream. For a video conference call, there may be multiple video channel instances, representing transmit-only, and two or more receive-only video streams (AAC continuous presence video conference call).
    See Also:
    MediaDirection, OverloadVideoStatus
    • Constructor Detail

      • VideoChannel

        public VideoChannel​(int channelId)
        Constructor (requestedVideoDirection defaults to SEND_RECEIVE)
        Parameters:
        channelId - Video channel ID of this video channel instance.
    • Method Detail

      • setRequestedDirection

        public void setRequestedDirection​(MediaDirection direction)
        Sets the video direction of the call.
        Specified by:
        setRequestedDirection in interface MediaChannel
        Parameters:
        direction - Video direction i.e sendonly, receiveonly, sendreceive or inactive.
        See Also:
        MediaDirection
      • getChannelId

        public int getChannelId()
        Get video channel id.
        Specified by:
        getChannelId in interface MediaChannel
        Returns:
        video channel id.
      • isEnabled

        public boolean isEnabled()
        Is video enabled or disabled.
        Returns:
        True if video is enabled.
      • isPresentationVideoChannel

        public boolean isPresentationVideoChannel()
        True if video channel a video presentation channel or false if it is a video call.
        Returns:
        true if video channel a video presentation channel or false if it is a video call.