[Q] Problem with audio streaming - Android Software/Hacking General [Developers Only]

Hello guys,
my team is developing a streaming app. This app is fully working on Galaxy Ace (the target device), but we have problem with other devices.
The problem is the audio, because the only video app works great on other devices.
I want to help my developer, I have a mediacom tablet, and I want to help with debug.
But it seems it's not possible to run a debug configuration with just an apk, I should have the project instead.
There's an easy way to get a log message running the app from the device?
Maybe any hint for the audio streaming?
Sorry for bad english

Related

Call record in rooted mode

Hi all
I'm new here so don't shoot me if I ask something soo stupid
I've been working on a project to capture the audio stream during a voice call on android.
I've successfully done all the rest of my application but then I ran into a problem:
there is no voice downlink during a phone call.
I've tried and tested every possibility that I could find on the internet and finally turned to using the root mode of my Phone.
The idea came to me when I found "AirVoice" (sorry being new here i can't post outside links :S) application that claims to be able to record both ends of a phone call + the comments on his website seem to confirm this.
I only rooted my phone yesterday following the great instructions of amon_ra (thanks a lot)
so I don't know what I can do and how to integrate it to my code.
I would like to know if there is a rooted access to the audio streams of a phone call?
Best regards
Jason
anybody ? (apologies for the bump )
anarkia1985 said:
Hi all
I'm new here so don't shoot me if I ask something soo stupid
I've been working on a project to capture the audio stream during a voice call on android.
I've successfully done all the rest of my application but then I ran into a problem:
there is no voice downlink during a phone call.
I've tried and tested every possibility that I could find on the internet and finally turned to using the root mode of my Phone.
The idea came to me when I found "AirVoice" (sorry being new here i can't post outside links :S) application that claims to be able to record both ends of a phone call + the comments on his website seem to confirm this.
I only rooted my phone yesterday following the great instructions of amon_ra (thanks a lot)
so I don't know what I can do and how to integrate it to my code.
I would like to know if there is a rooted access to the audio streams of a phone call?
Best regards
Jason
Click to expand...
Click to collapse
Sorry I can't offer help but I had a question about your app: can it record streaming audio or does it only record from the mic? I would like an app that can record off the Sirius stream / other streams.
Thanks,
Tony

[Q] Improving video play quality HTC Touch Pro-Android

Hy everybody,this is my first thread
I like to say that android it's better on my RAPH100,but there are any issues on any android port for this device.
I believe that i have some experience using android ports on htc devices,so that,i'm working myself to improving some features that's no working well on many versions.
One of them is video playback quality,in fact it's missing video image starting player,default or anyother:mobo,bsplayer,mxvideo player.
So,all of you that could help solving this issue are WELCOME !

[Q:Android] A way of streaming sound from microphone over Wi-Fi

Hey there, how's your day going?
Now, this is not a can-it-be-done kind of question, because the IP Webcam app already does just that - it exposes the audio from microphone via http on localhost:8080/audio.wav and .ogg for anyone to access.
The thing is that the app also does a pleyhora of other things - most notably video streaming, which makes the app one hell of a bad boy when it comes to battery consumption. And not only that, the audio streaming - as implemented - is severely delayed and the format / compression used can't really be adjusted to alleviate that issue, which in turn renders it impossible to turn the droid into a remote microphone (which would be an awesome thing to do ).
And since I don't think the author has ever released a source code (I stand to be corrected), I'm asking whether there is an app dedicated just and only to audio streaming (obviously couldn't find any, hence I'm asking) or whether I'll have to act a dev once again.
Android Development and Hacking > Android Q&A > [Q] A way of streaming sound from microphone over Wi-Fi​
Try this app
https://play.google.com/store/apps/details?id=com.portable.lanmic

[Q] Kid Mode App / CM 10 functionalty troubleshooting

Greeting Sensation folks. I'm an Amaze owner and need a kind soul running CM10 / 10.1 to test out an app for me (if you are bored). The app is Kid Mode and I'd like to know if you are experiencing video playback issues. The app has a mode where it accesses videos from various sources (i.e YouTube) and plays it back for your little one. When running CM10/10.1, the video fails playback and I'd like to determine whether it is hardware specific (Amaze/Sensation), ROM specific(CM10), or Android build specific (Jellybean). I don't believe it is the latter, but having verification on another device would be helpful in debugging the root cause.
Thanks in advance if someone out there can hook me up. And if you want to go the extra mile and provide a logcat, I'd be forever grateful. :good:

[APP][4.0+] Screen Mirroring, Broadcasting to Twitch, Youtube, ... and recording app

Screen Stream Mirroring is a powerful app for mirroring or broadcasting your Android screen and audio in real time !
http://mobzapp.com/mirroring
You can share Android screen "live" just like a dual screen to any device or pc on the same network through media player, web browser, Chromecast, and UPnP / DLNA devices (Smart TV or other compatible devices).
You can make powerful presentation for work, education, or gaming.
You can broadcast your Android screen to internet popular streaming servers (Twitch, Ustream, Youtube, ...).
You can also record it to MP4 video files.
Main features are:
No root required: Prior to Android 5.0 you need to run our startup tool from your computer to activate screen mirroring.
Mirroring with media players and tools such as VLC, XBMC/KODI, OBS (Open Broadcaster Software), and others...
Mirroring with web browsers
Broadcast online to Twitch, Youtube, Ustream, and others...
Mirroring with UPnP / DLNA devices such as Smart TV and others compatible devices
Google Cast™ Ready (Chromecast)
Recording to MP4 file
Camera overlay while you stream or record
internal audio (ROOTED Android 4.4+ devices) and microphone
Mixed audio (internal + microphone) available
Compatible with Network Tethering (wifi, bluetooth, USB)
Many settings to optimize performances
Secure stream with username + password (RTSP)
Logs to know who is connected
Any number of connections can be made, so multiple people can connect at the same time
Links to Play Store:
Free version: https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial
Full version: https://play.google.com/store/apps/details?id=com.mobzapp.screenstream
App screenshots are also attached to the thread...
App web site is here: http://mobzapp.com/mirroring
App FAQ: mobzapp.com/mirroring/faq.html
Instructions for non rooted devices and < Android 5.0: mobzapp.com/mirroring/instructions.html
You can help translate the app in your language -> http://transcommu.yasesprox.com/transcommu/Applications/View/186 or directly in app from preferences.
Whats the difference between this app and "screen mirroing " of chromecast apk
Bruno_Tec said:
Whats the difference between this app and "screen mirroing " of chromecast apk
Click to expand...
Click to collapse
Differences are :
Chromecast mirroring is only one of the features of this app (you can also mirror to many other kind of target devices, broadcast to Internet, and record)
Official Chromecast mirroring gives better latency
It's works for some devices for which Chromecast mirroring is not possible with Google's app
You can choose to stream with internal audio OR microphone audio OR both
You can change many settings such framerate, bitrate, and resolution to tweak quality
Software encoding provides many live video effects
probably few other differences but I think I told you most important
VLC
VLC crashes after I change the screen orientation. How to fix this?
Everything is ok. I was using old version of VLC, after updating it works properly. Sorry.
great ! Yes I was just about to tell you to update to the last VLC version. They handle rotation properly now...
Galaxy s5 audio issues
I am able to stream my screen to xbmc and chrome. However, no matter what I do I am unable to get the internal audio to stream. I am using Moar Rom 6.2 lolipop galaxy s5. Is there something I could do to get this app to work with audio?
huyn54 said:
I am able to stream my screen to xbmc and chrome. However, no matter what I do I am unable to get the internal audio to stream. I am using Moar Rom 6.2 lolipop galaxy s5. Is there something I could do to get this app to work with audio?
Click to expand...
Click to collapse
It might be because of the ROM you are using, but I am not sure.
I'll try to check if this is a problem related to this device, but it would be great to know if it is the same with Samsung's Lollipop ROM...
I can only get it to have Su access like 1 out of 8 times. But Su actually grants access evertime it just seems the app doesn't know. Then when it does work I can't get it to actually stream to twitch. It just says "Mirroring is paused" when I press play. Then if I press stop it automatically goes back to the opening screen giving me instructions for if i'm not rooted or Android 5.0.
Samsung Galaxy Note 10.1 2014 edition Stock ROM Rooted.
Sychodrama said:
I can only get it to have Su access like 1 out of 8 times. But Su actually grants access evertime it just seems the app doesn't know. Then when it does work I can't get it to actually stream to twitch. It just says "Mirroring is paused" when I press play. Then if I press stop it automatically goes back to the opening screen giving me instructions for if i'm not rooted or Android 5.0.
Samsung Galaxy Note 10.1 2014 edition Stock ROM Rooted.
Click to expand...
Click to collapse
Hi,
what app version do you have ? Please be sure you are using the last available update.
[email protected]
App crashes when camera is turned on
Greetings all,
Im running android 4.1.2 and each time i try to record my phone screen it just crashes .It happens when i turn on the camera all and just shows in the application the following message .
Application closed , invalid access to resource .
I did use the tutorial to use the application even thou i don't have root privilege .
Eratos
EratosDev said:
Greetings all,
Im running android 4.1.2 and each time i try to record my phone screen it just crashes .It happens when i turn on the camera all and just shows in the application the following message .
Application closed , invalid access to resource .
I did use the tutorial to use the application even thou i don't have root privilege .
Eratos
Click to expand...
Click to collapse
Hi,
so are you able to stream or record, and do you have troubles only with camera ?
By the way what app version do you have ?
Reply
Sloosh said:
Hi,
so are you able to stream or record, and do you have troubles only with camera ?
By the way what app version do you have ?
Click to expand...
Click to collapse
Sorry for the wait,
I am able to stream to google with some lagg, but i cant do the local desktop recording.
1.-I can open the app.
2.- I select record on local file option.
3.- I start the recording.
-its recording well if i don't start the camera app on the desktop.
If I do that it crashes or doesn't save the video or saves but doesn't play the full video.
My version is 2.1.5 .
EratosDev said:
Sorry for the wait,
I am able to stream to google with some lagg, but i cant do the local desktop recording.
1.-I can open the app.
2.- I select record on local file option.
3.- I start the recording.
-its recording well if i don't start the camera app on the desktop.
If I do that it crashes or doesn't save the video or saves but doesn't play the full video.
My version is 2.1.5 .
Click to expand...
Click to collapse
Ok you seem to have a recent version but you seem to have a problem with use of camera.
If it ask you to send a bug report when it crashes, please send it. I'll do my best to fix it.
Thanks.
More information
Sloosh said:
Ok you seem to have a recent version but you seem to have a problem with use of camera.
If it ask you to send a bug report when it crashes, please send it. I'll do my best to fix it.
Thanks.
Click to expand...
Click to collapse
Hi Sloosh,
In the quest of helping you fix this problem , I will send all the details of the device . My device android version is 4.1.2 and its on a samsung camera s3 . For what i saw , I needed the code to run it on root that you guys provided(start service.sh) .I think the problem lands on the class you used for the recording on the application . Once it starts the screen recording and the camera app at the same time there could be a conflict on the class or the resources.
*Updated my app
I did all the process and at the end when i open the camera app it looks like it works well. When i see the video the video is just damaged , it doesn't play the full video and stops each 3 seconds . I have to play it again and again and the camera part doesn't show .
I would like to help you more but the Screen Stream app is driving me crazy . With all the bugs and the publicity it takes me like 5 minutes to run the application . If i want to use it again the next day, I have to run startservice.sh again.
EratosDev
Hi, I'm having issues with the audio, if I have it set to internal and enable it to play on my device as well it will echo really bad on the stream (using it to stream on Twitch). Its not so bad if I don't have it play on my device, but I really like to have it play on my phone as well when playing a game.
EratosDev said:
Hi Sloosh,
In the quest of helping you fix this problem , I will send all the details of the device . My device android version is 4.1.2 and its on a samsung camera s3 . For what i saw , I needed the code to run it on root that you guys provided(start service.sh) .I think the problem lands on the class you used for the recording on the application . Once it starts the screen recording and the camera app at the same time there could be a conflict on the class or the resources.
*Updated my app
I did all the process and at the end when i open the camera app it looks like it works well. When i see the video the video is just damaged , it doesn't play the full video and stops each 3 seconds . I have to play it again and again and the camera part doesn't show .
I would like to help you more but the Screen Stream app is driving me crazy . With all the bugs and the publicity it takes me like 5 minutes to run the application . If i want to use it again the next day, I have to run startservice.sh again.
EratosDev
Click to expand...
Click to collapse
Camera uses a lot of things, it might also be an opengl issue because it uses opengl for video effects.
So if I understand well now the camera works well, but you have troubles with recording a good video file, is it correct ?
If so, can you please let me know the settings you are using ?
Have you tried to enable hardware encoding option ? It should be disabled by default with your device because it is running Android 4.1, this is a quite old Android version now and causes some troubles...
grilledbacon32 said:
Hi, I'm having issues with the audio, if I have it set to internal and enable it to play on my device as well it will echo really bad on the stream (using it to stream on Twitch). Its not so bad if I don't have it play on my device, but I really like to have it play on my phone as well when playing a game.
Click to expand...
Click to collapse
What do you mean by it will "echo really bad on the stream" ? Do you mean it cuts audio or produces scratches on the stream side ?
Sloosh said:
What do you mean by it will "echo really bad on the stream" ? Do you mean it cuts audio or produces scratches on the stream side ?
Click to expand...
Click to collapse
On the stream side, it sounds like its playing the audio twice, one is faint but you can for sure hear it. It almost sounds like it my phones microphone picking it up, but I do not have it set to mic/internal (mixed), I only have it set to Internal and then check the "keep on phone" option. If I do not have that option selected it works fine.

Categories

Resources