Bus.timedPop

Gets a message from the bus, waiting up to the specified timeout.

If timeout is 0, this function behaves like gst.bus.Bus.pop. If timeout is #GST_CLOCK_TIME_NONE, this function will block forever until a message was posted on the bus.

Parameters

timeout gst.types.ClockTime

a timeout

Return Value

Type: gst.message.Message

the #GstMessage that is on the bus after the specified timeout or null if the bus is empty after the timeout expired.