Windows Phone @ MoDaCo: Stream audio using wmp.dll - Windows Phone @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Stream audio using wmp.dll Playing asx streams or raw live streams
-----


#1 User is offline   Oizopower 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 28
  • Joined: 30-October 08

Posted 13 January 2009 - 11:40 PM

Hi There,

First of all I want to say that I’m kind of new to developing for WinMo.
My question is in short: Is it possible to program a application that can stream live music from the web
I have VS 2008 installed with the Windows Mobile SDK’s and using WMDC for my device testing.

In my project I have added the wmp.dll as a reference and is playing local files with success.
But my main goal is to play live audio from the web, I have searched for hours on google but I am not able to find a solution.

The code I use for playing local files is:

	  
WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer();
player.URL =  System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)  + "\\LocalTest.mp3";
  player.settings.volume = 100;
  player.controls.play();


If i use the URL and put a http link in there, then it isnt plating anything.

Does someone have some experience with this, and can send me in the right direction?



Kindly regards,

Oizopower

This post has been edited by Oizopower: 13 January 2009 - 11:44 PM

0

Sponsored Links

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!