Fix to correctly account for optional media constraints 

This is needed to allow WebRTC data channels that use SCTP