RTSPWatch.attach

uint attach(glib.main_context.MainContext context = null) nothrow

Adds a #GstRTSPWatch to a context so that it will be executed within that context.

Parameters

contexta GMainContext (if NULL, the default context will be used)

Returns

the ID (greater than 0) for the watch within the GMainContext.