Wowza Community

WOWZPlayerView can not custom size when playing HLS

On GoCoder Android, when i config WOWZPlayerView to play HLS from myStream. So, the player is not good. The player view always has size 640x480 on screen-shot-2018-09-03-at-83849-am.jpg

The player view is stretch out horizontally if the recorder phone is in vertical state.

@Le Vinh, there are settings you can use to ensure the stream is always sent in either landscape or portrait mode:

https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-android

You can also use the WOWZCamera View class with frameSizes and supportedPresetConfigs properties to get the list of natively supported resolutions for the devices in question:

https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-android