Windows phone Audio play back Agent - windows-phone-8

Can anybody please tell me that how to play dynamic music list using background playback agent in windows phone 8,i search every where on internet but tutorials can use tha hard coded music list

You can write the information about the music list from the UI (main app) to a file in Isolated storage and then read that information into a List of AudioTrack from the Background Audio Playback Agent.

Related

How has google play music disabled illegal downloading of audio streams?

I was just playing some Bowie off google play music on my PC and became curious as to how they have stopped illegal downloading. The All Access feature of google play means you can listen to any music on their servers for a fixed fee a month so I figured they must have a mechanism to stop users downloading anything they're streaming.
I opened up the network log and opened the URL of the audio stream in another tab. It opened fine and showed the MP3 play buttons as expected but the play button does nothing. I understand they will probably be using some kind of cookie method to stop hotlinking but that doesn't mean you can't download it shortly after you've clicked play in the play music client. Its been racking my mind for a while now and I can't think how they might have done it. They seemingly just use the new HTML5 features to play all audio.
Does anyone have any insight into how the genius' at google have done this?
As long as your computer can play the song, it can be recorded (e.g. Freecorder). This is similar to recording songs off the radio onto cassette tape.
It's possible to pirate the songs, but if they make it easy and cheap enough for you to buy the music, they hope you'll just buy it.
Besides, there are PSAs that tell you how illegal and wrong it is to pirate music.

Background Audio Agent and Media Player in Windows phone 8

I stuck in a big problem I am playing audio in background using BackgroundAudioPlayer working fine while I am playing another audio file using MediaElement on foreground the background sound is stopped.I want to play both sound simultaneously background and foreground please let me how it will be done.
MediaElement and BackgroundAudioPlayer are exclusive - you can only use one of these at a time.
You are able to play additional sounds using the XNA SoundEffect APIs however. For example of these APIs see this blog entry.

Windows Phone Multiple Background Music

I am playing continues background music in my app in Windows Phone. From the microsoft certification point of view the parallel sound must not be opened if there is already music being played.
What should I do?
Should I:
Detect any background music like song and prompt to user to stop my app background
OR
Detect any background music and prompt to user to stop already played music in the background like any song?
OR
Can I can play both backgrounds at the same time with the user's permission?
It sounds like options 1 and 2 are just a single choice you can present to the user: "My audio or your existing audio".
However the very fact you start playing audio will very likely stop any background audio. So you must go with option 2.
Who would honestly pick the 3rd option?

Embedding Media Players for streaming audio

I already know that there are flash and html5 players that can effectively stream a shoutcast source. I also know that I can simply add a link to the .pls and have it open. I know that I can't force a specific player to be used on a users system. I've looked through various questions on this site and haven't actually found a solution.
I know that if I use a simple href command and point it to an m3u file I can pop open a window and then it will load whatever audio player a user has set as a default player. What I would like to do is provide a way for a person to click on a link for a specific type of player and then have that open an embedded player of that type. If the user does not have that plug-in or player installed it will offer the option to dowload and install. I've figured out how to embed a windows media player and a quicktime player but I haven't yet figured out how to embed real audio or a "default" (winamp vlc media) player. I'm hoping someone has an idea on how to accomplish this. Thanks.
All you need to do is embed the right content, and the system will use whatever plugin has registered itself to handle that content type.
<embed src="somefile.ra" />

Is it possible to play HTTP Live video on a browser? 2012

I was wondering if it is possible to stream to the user HTTP Live video. NOT a video file.
LIVE video. Using any technology. Flash or HTML5. I did some research and most of the players I found support live streaming but most of them mean youtube-like style streaming, where you can click further in the video and get the video loading. I am talking about LIVE video, happening the same time the user watches the video.
I got the incoming HTTP packets, stored in a file called "current_frame.h264". This files gets updated as the packets come in. It does NOT grow in size, just get updated. (stays at around 17-20kb). Now I want to take this file and show it on a browser. Anybody can help me out?
Apple developed something like that a while ago: https://developer.apple.com/streaming/
All you need is a webserver and a HTML5 enabled webpage.
With this technology you also have the ability to stream different quality files based on the connection (mobile usage for example)
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html