Medium package used in the Component. Make sure it is the same as the one both ports are connected to.
package Medium = Media.myMedia.Interfaces.PartialMedium;