I want to stream an audio file that type is aac. when i play an aac file,I heard same voice different times on WP8 and WP8 is hanging back. I dont see that problem IOS and Android. Do you have any idea? How can i solve this sync. problem. Thanks
Related
I'm just new to portaudio and also to node. But I found this library and sample code:
https://github.com/Streampunk/naudiodon/blob/master/scratch/inputToFile.js
I'm trying to see if I can play stream sound in an electron application. The source of the sound will be my pc speakers. and then .. i want to create a object in my index.html in electron and stream the sound in.
Is this possible?
I want to make a application to stream my webcam video. I want to see the webcam video using my android phone. webcam is connected to my PC. I tried this codes but visual studio professional 2012 and ozeki new version not support for this video. I like to make a application like this. please help me. sorry for my bad English. thank you.
video link youtube
Thanks in advance
I am implementing a WebRTC project for mobile devices using Cordova, in that I want the play the audio in earpiece of mobile device instead of speaker.
Is there any API/ way to play audio in earpiece,
I'm using cordova-plugin-iosrtc for iOS app and cross-walk for android.
Thanks,
Shinto
You can try with:
cordova.plugins.iosrtc.selectAudioOutput('earpiece');
Here you can find iosrtc documentation
in my app I use AVPlayerItem to play sound and AVPlayer to play video. To sync both players I use the following code:
CMClockRef nc = CMTimebaseGetMasterClock(avPlayerItem.timebase);
self.avPlayer.masterClock = nc;
On iOS 7 and iOS 8 it worked like a charm. But with iOS 9 I keep having problems. The playback starts but then always jumps back several seconds - so the playback is not fluent.
I would be grateful for every hint.
Thank you.
Update
It seems as if the masterClock is not the cause of the problem. I tried it without setting the masterClock and still had the same problem.
In another app I use an AVAudioPlayer for audio playback and an AVPlayer with AVPlayerItem for video playback and everything works fine.
In this app I have an AVPlayer with AVPlayerItem for both - audio and video playback and this seems to cause the problem. It worked fine with older iOS versions but not with iOS 9.
Update
I tested it with iOS 10 and the bug was gone.
This problem only occurs under iOS 9.
I am trying to create a mobile website and want to be able to play/stream audio files.I have tried html5's audio tag and tried testing it on opera mobile 10 simulator but it does not work. I have lots of audio files and the audio should be auto played.
sidenote:
Also, i need to test my website for android and iphone mobile phones. I am downloading android emulator for windows. I tried searching for iphone emulator for windows but there are none...
Phone emulators aren't always a good indicator as they do not usually have a media player installed. The best way to test is to find someone with an actual Andriod / Blackberry / iPhone.
You should try the same HTML5 code with an actual phone. Note that Opera Mobile 10 does not have support for the video/audio tag. If you're interested in streaming to mobiles without HTML5, you should check this FAQ entry for more information.