'Registers a single producer with this consumer. Just keeps track of it.
@param producer: The producer to register.
@param streaming: Whether the producer is a streaming one or not.'

def registerProducer(self, producer, streaming):

    self.producer = producer
    self.producerStreaming = streaming
