setDimensions
Updates the size of the incoming stream.
Whether this value is used is stream-dependent. On Android, it must be set when using a native stream. The dimensions should match the associated Texture's dimensions.
Parameters
width
New width in pixels.
height
New height in pixels.