SystemClock.setDefault

void setDefault(gst.clock.Clock newClock = null)

Sets the default system clock that can be obtained with [gst.system_clock.SystemClock.obtain].

This is mostly used for testing and debugging purposes when you want to have control over the time reported by the default system clock.

MT safe.

Parameters

newClocka #GstClock