Although it has passed resolutions of 1080p always wowza transmit 640x480.
Partial code .js
wsURL = $('#sdpURL').val();
streamInfo.applicationName = $('#applicationName').val();
streamInfo.streamName = $('#streamName').val();
videoBitrate = $('#videoBitrate').val();
audioBitrate = $('#audioBitrate').val();
videoFrameRate = $('#videoFrameRate').val();
userAgent = $('#userAgent').val().toLowerCase();
VIDEO:
video: {
width : {exact: $('#width').val()},
height : {exact: $('#heigth').val()},
frameRate : $('#videoFrameRate').val(),
facingMode: "environment",
},