rtp_engine.c: Must protect mime_types_len with mime_types_lock.