public void SendFabricDropped(int delay, IceCandidatePair currIceCandidatePair,
                                      string newIceConnectionState, string prevIceConnectionState)
        {
            FabricDroppedData fdd = new FabricDroppedData();

            fdd.localID                = localID;
            fdd.originID               = originID;
            fdd.deviceID               = deviceID;
            fdd.timestamp              = DateTime.UtcNow.ToUnixTimeStampMiliseconds();
            fdd.remoteID               = remoteID;
            fdd.connectionID           = connectionID;
            fdd.currIceCandidatePair   = currIceCandidatePair;
            fdd.currIceConnectionState = newIceConnectionState;
            fdd.prevIceConnectionState = prevIceConnectionState;
            fdd.delay = delay;

            Debug.WriteLine("FabricDropped: ");
            var task = callstats.FabricDropped(fdd);
        }
Ejemplo n.º 2
0
 public async Task FabricDropped(FabricDroppedData fabricDroppedData)
 {
     await SendRequest(fabricDroppedData, UrlBuilder(Host.events.ToString(),
                                                     $"/v1/apps/{_appID}/conferences/{_confID}/{_ucID}/events/fabric/status"));
 }