Added constraints to user media

Change-Id: I5bf4f380f3e99bdf5d79b09bcbb53c2f78ca2fdc