Christian Costa : amstream: Check purpose id in AddMediaStream.