/// <inheritdoc/> public void UnregisterCallback(Argb32VideoFrameDelegate callback) { if (Source != null) { Source.ARGB32VideoFrameReady -= callback; } }
/// <summary> /// Unregister an existing frame callback registered with <see cref="RegisterCallback(Argb32VideoFrameDelegate)"/>. /// </summary> /// <param name="callback">The frame callback to unregister.</param> public void UnregisterCallback(Argb32VideoFrameDelegate callback) { if (Track != null) { Track.Argb32VideoFrameReady -= callback; } }