Esempio n. 1
0
 internal CalendarMeeting(PolycomGroupSeriesCodec codec, string id, DateTime startTime, DateTime endTime,
                          string name)
 {
     _codec     = codec;
     _id        = id;
     _startTime = startTime;
     _endTime   = endTime;
     _name      = name;
 }
Esempio n. 2
0
        private void Calls_CallChanged(PolycomGroupSeriesCodec codec, CallChangeEventArgs args)
        {
#if DEBUG
            Debug.WriteSuccess("Call Change", "{0} {1} - {2} ({3}) - {4} ({5})",
                               args.Call.CallType, args.Call.Id, args.Call.DisplayName, args.Call.Number, args.Call.State.ToString(),
                               args.Call.Status.ToString());
#endif
            if (args.Call.Status == CallStatus.Connected)
            {
                Send("mute near get");
            }
        }
Esempio n. 3
0
        protected virtual void OnReceivedFeedback(PolycomGroupSeriesCodec codec, string receiveddata)
        {
            var handler = ReceivedFeedback;

            try
            {
                if (handler != null)
                {
                    handler(codec, receiveddata);
                }
            }
            catch (Exception e)
            {
                CloudLog.Exception(e);
            }
        }
Esempio n. 4
0
 public Microphones(PolycomGroupSeriesCodec codec)
 {
     Codec = codec;
     codec.ReceivedFeedback += (seriesCodec, data) => OnReceive(data);
 }
Esempio n. 5
0
 public Call(PolycomGroupSeriesCodec codec, int id)
 {
     Codec     = codec;
     Id        = id;
     TimeStart = DateTime.Now;
 }
Esempio n. 6
0
 internal PolycomCamera(PolycomGroupSeriesCodec codec, CameraType type)
 {
     _codec = codec;
     _type  = type;
 }
Esempio n. 7
0
 public Calls(PolycomGroupSeriesCodec codec)
 {
     Codec  = codec;
     _calls = new Dictionary <int, Call>();
     codec.ReceivedFeedback += (seriesCodec, data) => OnReceive(data);
 }
Esempio n. 8
0
 public AddressBook(PolycomGroupSeriesCodec codec)
 {
     Codec = codec;
     codec.ReceivedFeedback += (seriesCodec, data) => OnReceive(data);
 }