MediaDirection

public enum MediaDirection : Int

Indicates for a given media the stream direction.

  • Default value, shouldn’t be used.

    Declaration

    Swift

    case Invalid = -1
  • No active media not supported yet.

    Declaration

    Swift

    case Inactive = 0
  • Media is only being sent, it won’t be received.

    Declaration

    Swift

    case SendOnly = 1
  • Media will only be received, nothing will be sent.

    Declaration

    Swift

    case RecvOnly = 2
  • Media will be sent and received.

    Declaration

    Swift

    case SendRecv = 3