I am new to INDE, I managed to stream from android cam (audio+video) to my Wowza server successfully. I am now trying to make a Push to Talk (PTT) feature in my android app using INDE and Wowza streaming engine.
1- How to stream audio only? I tried setting parameters.isToPublishVideo = false; but it does not make any effect, the stream contains video.
2- Can I stream camera (audio and video) on a url, and stream another (audio only) to another url using the same phone/app?
Your assistance is much appreciated.
1. Current version of Media for Mobile library doesn't support audio only streaming. You may try to configure Wowza server to stream audio only, see details here: http://www.wowza.com/forums/content.php?304-How-to-set-up-and-run-Wowza-Transcoder-AddOn-for-live-st...
2. It's also not supported, you can't create two Streamer instances using the same camera and microphone. I would suggest to check whether Wowza server allows to split one stream into two different streams.
Many thanks for your reply.
OK I wonder if it is possible to use the INDE cam streaming for android devices below 4.3? Is there anything I can change in the INDE code to make that work?
INDE camera streaming feature uses MediaCodec createInputSurface method which is available only in Android API 18 and higher. Therefore it won't work on Android devices below 4.3.