Package 

Class DataTrack

    • Method Summary

      Modifier and Type Method Description
      int getMaxPacketLifeTime() Returns the maximum period of time in milliseconds in which retransmissions will be sent.
      int getMaxRetransmits() Returns the maximum number of times to transmit a message before giving up.
      String getName() Returns the data track name.
      boolean isEnabled() Check if this data track is enabled.
      boolean isOrdered() Returns true if data track guarantees in-order delivery of messages.
      boolean isReliable() Returns true if the data track guarantees reliable transmission of messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMaxRetransmits

         int getMaxRetransmits()

        Returns the maximum number of times to transmit a message before giving up. Returns {@code * 65535} if DEFAULT_MAX_RETRANSMITS was specified when building thedata track.

      • getName

        @NonNull() String getName()

        Returns the data track name. A pseudo random string is returned if no track name wasspecified.

      • isEnabled

         boolean isEnabled()

        Check if this data track is enabled.

      • isOrdered

         boolean isOrdered()

        Returns true if data track guarantees in-order delivery of messages.

      • isReliable

         boolean isReliable()

        Returns true if the data track guarantees reliable transmission of messages.