1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- 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<BaseConfig> sscList { get
- {
- List<BaseConfig> lsC = new List<BaseConfig>();
- 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;
- } }
- }
|