@100mslive/hms-video-store 0.15.2-alpha.4 → 0.15.2-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,15 +63,17 @@ export default class AnalyticsEventFactory {
63
63
  error?: HMSException;
64
64
  }): AnalyticsEvent;
65
65
  /**
66
- * A publish answer was dropped because the offer it answers is no longer staged.
67
- * `action` names the owner that must re-drive; `reason` separates the three causes.
66
+ * A publish answer was dropped because the offer it answers is no longer staged, or the waiter
67
+ * for it was settled without one. `action` names the owner that must re-drive; `reason`
68
+ * separates the five causes. The two waiter-level ones have no offer in flight, so they carry
69
+ * no `epoch`/`signaling_state`.
68
70
  */
69
71
  static publishAnswerDiscarded(properties: {
70
72
  reason: PublishAnswerDiscardReason;
71
73
  action: string;
72
- signaling_state: RTCSignalingState;
74
+ signaling_state?: RTCSignalingState;
73
75
  transport_state: string;
74
- epoch: number;
76
+ epoch?: number;
75
77
  }): AnalyticsEvent;
76
78
  /** no attempt was answered, so the SFU is left on a state nobody asked for */
77
79
  static subscribeRequestUnanswered(properties: {