Thank you slomo and ndufresne. Got it working with just one modification to the code above. Connected to the media-constructed signal of the factory and got the pay0 element there. Pad probe now works. Posted the updated code in a comment to the above gist. Thanks Again Mandar Joshi