WowzaMediaSystems / gocoder-sdk-samples-android

A sample app for Android that demonstrates the capabilities of the Wowza GoCoderâ„¢ SDK.
https://www.wowza.com/products/gocoder/sdk
Other
53 stars 51 forks source link

Camera size results wrong upon orientation change and video results incorrect. #1

Closed ocramot closed 8 years ago

ocramot commented 8 years ago

Steps to reproduce: 1 - Open app; 2 - Select 'Stream live video and audio' (I didn't test the other modes, but I assume they have the same problem); 3 - Start a stream, either in portrait or landscape mode; 4 - Change orientation during streaming; 5 - Stop the streaming; 6 - Keep the actual orientation and start a new streaming; 7 - Check on wowza server, using the test player. The video received is correct only in a square, the rest of the rectangle is repeated. See attached pictures: from_portrait_to_landscape from_landscape_to_portrait

This does NOT happen if you: 1) start a stream, 2) stop a stream, 3) change orientation, 4) start a new stream. So I suppose that some part of the configuration gets corrupted if you change orientation during streaming. I couldn't find where the issue is located. I also tried to reset the WZBroadcastConfig and WZCameraView objects upon the Android's onConfigurationChanged event, but this led me to other errors...

robgabbard-wowza commented 8 years ago

Thanks for reporting this issue. We're looking into it now and targeting the fix for a new release that is planned for later this week.

ocramot commented 8 years ago

I just realized that you released a new build (version 0259) ten days ago. I was still using the previous release (version 0230). This issue seems to have been resolved in the last build. Sorry if I bothered you.