RB.EncoderFactory::prepare-sink

def callback(encoder_factory, uri, sink, user_param1, ...)

Emitted when creating a sink to write to the specified URI. Plugins can use this when just creating a GStreamer element from the URI isn't enough. Typically this happens when there's no way to pass device information through the URI format.

encoder_factory :

instance of RB.EncoderFactory that is emitting the signal

uri :

the URI for the sink

sink :

the sink object (a GstElement in fact)

user_param1 :

first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)