Allow MediaPipelineFactory to be used on non Spring environments

Change-Id: Ic8e8a287bde3d2a90f59d7a64517c61e12379a5e