using System.Collections; using System.Collections.Generic; using UnityEngine; public class CustomInfo { public static int mWidth = 1280; public static int mHight = 720; public static int FPS = 30; //public static string url = "apitest.shadowcreator.com";//uat测试版 public static string url = "api.shadowcreator.com:443/rtcwss/";//正式版 public static int POST = 443; public static string disPlayName = ""; public static string RoomId = "1111"; public static string roomPwd = ""; public static bool isRevAllAudio = true; public static bool isRevAllVideo = false; public static bool isSendAudio = true; public static bool isSendVideo = true; public static bool isCloseView = true; public static int camIndex = 2; public static List sscList { get { List lsC = new List(); SysSizeConfig ssc; for (int i = 0; i < 3; i++) { ssc = new SysSizeConfig(); switch(i) { case 0: ssc.text = "超清1080P"; break; case 1: ssc.text = "高清720P"; break; case 2: ssc.text = "标清480P"; break; } if(camIndex==(i+1)) ssc.isChoose = true; else ssc.isChoose = false; lsC.Add(ssc); } return lsC; } } }