The stream quality recorded from Android is low as compared to iOS but frame size is the same on both sides 640x480. Can you please explain the reason why stream quality is low on the android side. Is there any issue in android SDK?
Here is the setting on android:
goCoderMP4Writer = WOWZMP4Writer()
goCoderBroadcaster = WOWZBroadcast()<br>goCoderBroadcastConfig = WOWZBroadcastConfig(WOWZMediaConfig.FRAME_SIZE_640x480)<br>goCoderBroadcastConfig?.hostAddress = streamDTO?.hostgoCoderBroadcastConfig?.portNumber = streamDTO?.port?.toInt()!!<br>goCoderBroadcastConfig?.applicationName = streamDTO?.appNamegoCoderBroadcastConfig?.streamName = streamDTO?.streamNamegoCoderBroadcastConfig?.username = streamDTO?.userNamegoCoderBroadcastConfig?.password = streamDTO?.passwordgoCoderAudioDevice = WOWZAudioDevice()<br>goCoderBroadcastConfig?.videoBroadcaster = goCoderCameraViewgoCoderBroadcastConfig?.audioBroadcaster = goCoderAudioDevicegoCoderBroadcastConfig?.isVideoEnabled = truegoCoderBroadcastConfig?.isAudioEnabled = truegoCoderBroadcastConfig?.registerVideoSink(goCoderMP4Writer)<br>goCoderBroadcastConfig?.registerAudioSink(goCoderMP4Writer)<br>goCoderBroadcastConfig?.validateForBroadcast()
Sorry to hear that @Frederick Ackroyd. We need to know the following please:
-
When you say stream quality, do you mean the audio, the video or both? Is it buffering, choppy…?
-
What version of Android SDK are you using?
-
What Android device are you using?
Thanks. I will look for your reply.
Thanks, Rose for your quick response. Following are the answers to your questions:
- Video Quality (both live stream video and recorded video with WOWZMP4Writer on device)
- Android SDK version 26
- Pixel 3XL, Samsung S10+, Samsung S9+, Pixel 2XL
The frame size is the same on both android and iOS 640x480 but on the android side, video quality is very low as compared to iOS.
One more issue no audio at all on Android when watching a video recorded from iOS. Is there any configuration issue or something else?
Please let me know if you need more information related to configurations or Code.
Hi Rose,
Here are more details related to Video Quality on android side as compared to iOS. Can you look into following document & see highlighted areas in Link.
Link:
https://confizpk-my.sharepoint.com/:w:/g/personal/hafiz_mohsin_confiz_com/EVrNnSLM-T1KqxJQae-yI_EBSzzPgq7-V2qMsRlYrIpEuA?e=lgirhK
Lets us know if you need more details.
We will look forward to your response as soon as possible.
Regards,
Thanks, Rose for your quick response. Following are the answers to your questions:
- Video Quality (both live stream video and recorded video with WOWZMP4Writer on device)
- Android SDK version 26
- Pixel 3XL, Samsung S10+, Samsung S9+, Pixel 2XL
The frame size is the same on both android and iOS 640x480 but on the android side, video quality is very low as compared to iOS.
One more issue no audio at all on Android when watching a video recorded from iOS. Is there any configuration issue or something else?
Please let me know if you need more information related to configurations or Code.
Hi @Frederick Ackroyd, thanks for the response. Sorry for the delay, sometimes things go in the moderation queue for approval and I didn’t see it until I got in this morning.
So, thank you for your response. This is what I can share with you now:
- We currently have issues with audio and video delay for both Pixel 2 and Pixel 3 devices. There are some components of the SDK that the Pixel 2 and 3 don’t seem to like, but work fine with other devices no problem. Our engineers are aware of it and have a work ticket to try and fix it. I do not have an ETA for you as it will take some time to rebuild that part of the SDK.
Sorry for the inconvenience and please feel free to check back for updates.
Hi Rose,
I think you have not understood our concern related to video quality issue on android. Please have a look into shared screenshots Link that’s have captured on different android devices including Samsung S10+. We are facing the video quality on Samsung S10+ as well. Please also look into recorded stream video Link using android Samsung S9+.
Looking forward to your reply.
Regards,
Hi Rose,
We did not receive any update on this issue.
Looking forward to your reply.
Thanks
Checking for you with SDK team right now.
Hi @Frederick Ackroyd, we do support the Samsung 9+ and 10 as well. There are no reported issues according to the SDK team. Since we do not have support tickets for the SDK, you can try posting in Slack and asking our devs who are very active in there or you can email sales to sign-up for a direct support package- the email is sales@wowza.com.
I’m sorry, I’m not able to determine the cause of the images getting cropped as I see in your links. The things we normally look for are:
For the Android SDK, these settings should be in the WZMediaConfig class.
https://www.wowza.com/resources/gocodersdk/docs/1.0/api-reference-android/
Do refer to the FILL_VIEW attribute.
FILL_VIEW
An identifier that specifies video and image previews should be resized and cropped, if necessary, to preserve the aspect ratio and fill the entire view.
Also, some devices only support certain frame sizes and some people have reported this issue. If the device doesn’t support the frame size you set, it will not scale properly, it will crop.
You can also try asking your question in here:
https://www.wowza.com/slack
Try to check if the phone supports the frame sizes.