Wowza Community

Streaming is rotated when screen is off

While streaming in landscape mode, when the screen off button (on the phone) is pressed, it goes into portrait mode.

How do I keep it in landscape mode?


You can set it to stream in landscape mode by setting

broadcastVideoOrientation = WZBroadcastOrientation.AlwaysLandscape
videoPreviewRotates = false
capturedVideoRotates = false