Module flumotion.twisted.gstreactor
a GStreamer mainloop-based Twisted reactor
In order to use this support, simply do the following:
| from twisted.internet import gstreactor
| gstreactor.install()
Then use twisted.internet APIs as usual. The other methods here are
not intended to be called directly.
API Stability: unstable
Classes |
GstReactor |
GObject/Gst event loop reactor. |
Function Summary |
|
install ()
Configure the twisted mainloop to be run inside the gtk mainloop. |
|
hasReader(key)
|
|
hasWriter(key)
|
install()
Configure the twisted mainloop to be run inside the gtk
mainloop.
-
|
OUTFLAGS
-
- Type:
-
int
- Value:
|
POLL_DISCONNECTED
-
- Type:
-
int
- Value:
|
reads
-
- Type:
-
dict
- Value:
{<twisted.internet.default._UnixWaker instance at 0xb7f36eac>: 2}
|
|