Package com.opentok

Class BroadcastProperties

java.lang.Object
com.opentok.BroadcastProperties

public class BroadcastProperties
extends java.lang.Object
Defines values for the properties parameter of the OpenTok.startBroadcast(String sessionId, BroadcastProperties properties) method.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  BroadcastProperties.Builder
    Used to create a BroadcastProperties object.
  • Method Summary

    Modifier and Type Method Description
    java.util.List<RtmpProperties> getRtmpList()
    Returns the RtmpProperties list.
    boolean hasHls()
    Whether the broadcast has HLS (true) or not (false).
    BroadcastLayout layout()
    The layout of the broadcast.
    int maxDuration()
    The maximum duration in seconds of the broadcast.
    java.lang.String resolution()
    Returns the resolution of the broadcast.
    Broadcast.StreamMode streamMode()
    The stream mode of the broadcast.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • layout

      public BroadcastLayout layout()
      The layout of the broadcast.
    • maxDuration

      public int maxDuration()
      The maximum duration in seconds of the broadcast.
    • hasHls

      public boolean hasHls()
      Whether the broadcast has HLS (true) or not (false).
    • getRtmpList

      public java.util.List<RtmpProperties> getRtmpList()
      Returns the RtmpProperties list.
    • resolution

      public java.lang.String resolution()
      Returns the resolution of the broadcast.
    • streamMode

      public Broadcast.StreamMode streamMode()
      The stream mode of the broadcast.