Resolution 640 x 480 not supported
Hi, I am using example-3, stream to a Wowza Media Server, i am getting errors when i selecting high and medium resolutions above [320 x 240 30fps, 250kbps] streaming get's green color and when i select [640 x 480] app raising the exception as follows and not connecting to stream engine.
is there any solution to work with high resolution?
ERROR: net.majorkernelpanic.streaming.exceptions.ConfNotSupportedException: start failed.
A fair number of android devices are bugged and advertise that they support resolutions and configurations when they actually don't. Try resolutions listed as mandatory/strongly reccomended as listed in the compatibility doc. like 720x480, or 1280x720. However, you're probably being bottle necked by bitrate at the moment, so try doubling that first.
Thanks for information.
One more issue on orientation when i set setPreviewOrientation(90) rtmp streaming also rotating (-90deg), but the device must be with portrait setPreviewOrientation(90) , is there any solution?
FYI: setPreviewOrientation(0) is fine to rtmp streaming when activity set to landscape mode and setPreviewOrientation(0)
I encountered the same problem. google says that setPreviewOrientation only affects the surface output. does not affects the Camera.PreviewCallback nv21 data...so i think you have to use the landscape theme.. or rotate data yourself.. if you have any other solution, please share for us. thanks.
2016-09-21 19:57 GMT+08:00 Shankar [email protected]:
Thanks for information. One more issue on orientation when i set setPreviewOrientation(90) rtmp streaming also rotating, but the device must be with portrait setPreviewOrientation(90) , is there any solution?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fyhertz/libstreaming/issues/239#issuecomment-248589902, or mute the thread https://github.com/notifications/unsubscribe-auth/AE6EyrrQuWQgIaZGRWWbUkY-OVRiIHhZks5qsRuYgaJpZM4KCo1y .
bestwishes Paul Guo thanks with love!!
I just use the 1080p resolution, and it works fine, but the phone can not handle the data that quickly and quality is very bad, so just use 720p instead. You can comment the errors and enlarge the time named 'elapased in EncoderDebugger.java or make some other very small fix.
2016-09-21 18:25 GMT+08:00 Shankar [email protected]:
Hi, when selecting the resolution above [320 x 240 30fps, 250kbps] streaming get's green color and when i select [640 x 480] app raising the exception as follows and not connecting to stream engine.
is there any solution to work with high resolution?
ERROR: net.majorkernelpanic.streaming.exceptions.ConfNotSupportedException: start failed.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fyhertz/libstreaming/issues/239, or mute the thread https://github.com/notifications/unsubscribe-auth/AE6Eyhpy6hE5Z80qrKTcQZZhS_jUT1Aoks5qsQYUgaJpZM4KCo1y .
bestwishes Paul Guo thanks with love!!
I have the same question like @shankar667. I try to enlarge "elapased" in EncoderDebugger.java, but it still can't work for high quality(720p). @Paul-Guo Do you mean the range of "elapased"? Ex: while(elapsed<3000000)??