I am trying to make my own internet radio app for Iphone and Ipad. I read documentation and I found Matt Gallagher example code but it doesn't work with my radio (a shoutcast server streaming mp3 audio).
Is it possible that in 2011 we have to deal with C structure, call back function, run loop, void pointer in a very very low level programming style?
Is there an high level framework to deal with audio streams just like in others platform/language?
Thanks
Related
Its the first time when I work with voice over on objective c. i'm trying to make some simple app for blind community.
tell me necessary classes and methods to work with voice?
what should my application to except play and pause voice?
please show me main protocols and methods with examples.
Full tutorial will be appreciated :-)
video will be perfect
You just need to make the elements in your app accessible in the accessibility tree. By default they are all set to YES, so all the elements are ready by voice over. You don't have to write any code for that.
However you need to write code to post accessibility notifications, and to make some elements not read by voice over.
You can change the voice over settings in the device accessibility settings.
Please read the Apple's Documentation regarding the UIAccessibility.
I am developing wp8 app,In that i need to play live-streaming of video.Can any one give samples or tutorials to play live streaming on wp8 app.
I followed below link but its not working
https://playerframework.codeplex.com/wikipage?title=Getting%20Started:%20WP8%20Smooth%20Streaming%20Player
Regards
chandu
You have plenty of options:
Option 1: Here is a good tutorial that explains how to implement video streaming using the Smooth Streaming Client SDK: http://mingfeiy.com/building-windows-store-apps-smooth-streaming-client-sdk-beta-2
Option 2: Another approach is to use the Player Framework for Windows 8 Metro Style Applications To summarize, this is an open source, robust video player framework for Windows 8, HTML5, Silverlight, Windows Phone and other application platforms.
Find it here: http://www.geekchamp.com/marketplace/components/media-platform-player-framework
Option 3: A Simple Windows 8 Smooth Streaming Media Player with a Slider Bar Control as in here : http://code.msdn.microsoft.com/windowsapps/A-simple-Windows-8-Smooth-ee98f63a
To summarize: This sample shows how to use Smooth Streaming Client SDK for Windows 8 to create a Windows Store application to playback Smooth Streaming content. In the sample, the MediaElement control is used to show the media content, and a slider bar control is used to control the progress. That`s is from me, just pick one of the options and you are ready to go.
For a university project i'm working on a DJ mixing app. I'm essentially tackling this project from a 'teach yourself from scratch by googling everything and analysing pre existing source code' type of way so go easy.
I have looked at the Mixer Host sample project from apple found here: http://developer.apple.com/library/ios/#samplecode/MixerHost/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010210
I can't work out how to replace the pre selected audio files (guitar + beat) with a song URL from the iPod library selected from a media picker, or, in this case - 2 media pickers.
Is it a case of grabbing the URL of the iPod library song selected and putting in place of the URL of the preselected audio file?
If someone could point me in the right direction, tell me how i'm completely going about this the wrong way, or even do the coding for me (joke), it would be greatly appreciated.
You can't actually simply stream from the ipod library; you need to copy the files into the documents directory of the app.
try this: http://www.subfurther.com/blog/2010/12/13/from-ipod-library-to-pcm-samples-in-far-fewer-steps-than-were-previously-necessary/
You can use third party libraries to play a iPod library songs using AudioUnit. The below link is useful to you
Clickhere!
I have managed to get seamsless looping of wav files using the SharpDX library.
But this does not seem to work while the app is minimised (in the background).
Using the metro players I do not get a seamless loop this is why I use XAudio2 in the SharpDX library.
Hope someone can help with this.
When your app is in the background it no longer has access to the CPU so your audio will stop playing.
The only way around this is with background agents running the audio component. The issue here is that the certification process will be hard on you if you are just playing looping audio. Playing audio in the background is intended for audio player apps (like the inbuilt "Music" app).
If I were a user of your app I would likely be unhappy that it clogs up the audio system when it isn't in the foreground (if, for example, I went to answer a Lync call). If the only way to stop your app playing audio is to go and turn it off manually or exit the app then my opinion is that the user experience isn't great.
Of course, you may have a different opinion, or your app might be doing something I haven't considered.
I'm interested in seeing working code for how to compose an SMS/MMS programmatically using the latest iOS in order to include a sound file, taking into consideration that if the file is too big (unsure of the max size at this time, any info is appreciated) an error should be displayed to the user.
I know this can be done, because the built-in recorder for the apple iphone allows for sending audio files via a text message if they're not too big. I'd like to understand how it achieves this programmatically, what sound formats are available to me and what are the limitations if any.
You are not allowed to send MMS through the MessageUI framework, which is the framework iOS allows developers to interact with the Messaging interface. Apple uses private APIs in their apps, and any use of private APIs = automatic rejection in the App Store.
Raphael is right, there is currently no way in the current iOS version (iOS 5) to send an MMS using the MessageUI framework.
One potential workaround we've found was to create a "send MMS" screen, where a user can attach their selected audio / pxt, and then when the user hits the send button, make a call to a 3rd party MMS gateway to deliver the audio / image.