Class ZegoStreamExtraPlayInfo.ZegoStreamResourceMode

  • Enclosing class:
    ZegoStreamExtraPlayInfo

    public static final class ZegoStreamExtraPlayInfo.ZegoStreamResourceMode
    extends java.lang.Object
    自定义拉流模式
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CdnOnly
      只从CDN拉流
      static int CdnPlus
      废弃 CDN Plus
      static int Default
      默认模式,SDK会根据拉流设置的rtmpUrls/flvUrls/shouldSwitchServer参数和即构的后台配置自动选择拉流资源
      static int L3Only
      只从L3拉流, 会忽略rtmpUrls/flvUrls/shouldSwitchServer 参数
      static int RtcOnly
      只从RTC拉流 ,会忽略 rtmpUrls/flvUrls/shouldSwitchServer 参数
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • Default

        public static final int Default
        默认模式,SDK会根据拉流设置的rtmpUrls/flvUrls/shouldSwitchServer参数和即构的后台配置自动选择拉流资源
        See Also:
        Constant Field Values
      • L3Only

        public static final int L3Only
        只从L3拉流, 会忽略rtmpUrls/flvUrls/shouldSwitchServer 参数
        See Also:
        Constant Field Values
      • RtcOnly

        public static final int RtcOnly
        只从RTC拉流 ,会忽略 rtmpUrls/flvUrls/shouldSwitchServer 参数
        See Also:
        Constant Field Values
    • Constructor Detail

      • ZegoStreamResourceMode

        public ZegoStreamResourceMode()