'Simple register of producer, checks that no register has happened
before.
@param producer: pull producer to use
@param streaming: unused'

def registerProducer(self, producer, streaming):

    assert (self.producer is None)
    self.buffer = []
    self.producer = producer
    self.producer.resumeProducing()
