M
M
Maxim Vasiliev2012-11-22 07:22:09
Python
Maxim Vasiliev, 2012-11-22 07:22:09

Connecting twisted and gstreamer

I am sculpting a video broadcasting server.
It is assumed that the video stream is taken from gstreamer and given by twisted via http (and flowplayer catches it).
And also twisted should catch pipeline management/configuration commands.

One has a reactor, the other has a gobject.MainLoop.
There was a misunderstanding - how to launch their event loops.
If in different threads, then it is not clear how to adequately transfer the flow data between them.

Tell me - what manuals to smoke, what to google?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RainWarrior, 2012-11-22
@qmax

Twisted has a reactor using glib:
http://twistedmatrix.com/documents/11.0.0/core/howto/choosing-reactor.html#auto11

I
ivnik, 2012-11-22
@ivnik

gstreamer has a plugin called fdsink that will write a stream to a file descriptor. You can try using it (sharing a pipe, or giving it directly to the client (but probably won't work with twisted).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question