public List <PlayerSession> GetPlayerSessionList(string mediaServerId)
        {
            ResponseStruct rs;
            var            ret = MediaServerApis.GetPlayerSessionList(mediaServerId, out rs);

            if (rs.Code != ErrorNumber.None)
            {
                throw new HttpResponseException(JsonHelper.ToJson(rs));
            }

            foreach (var obj in ret)
            {
                obj.UpTime = (DateTime.Now - obj.OnlineTime).TotalSeconds;
            }
            return(ret);
        }