问题描述
我正在为Windows Phone 7开发互联网广播应用。
我一直在添加"Stream.mp3"。到我的shoutcast网址,以获取流文件作为MP3文件,例如。 " HTTP://00.00.00.00:0000 /; file.mp3" ;.这在我的Windows Phone 7和Emulator 7.1上运行正常。
但是,我尝试在Windows phone 8模拟器和wp8手机上进行测试,但它无法正常工作。
$
知道发生了什么事吗?
谢谢!
I am working on an internet radio app for windows phone 7.
I've been adding "Stream.mp3" to my shoutcast url in order to get the stream as an mp3 file eg. "http://00.00.00.00:0000/; file.mp3". This is working fine on my windows phone 7 and also on Emulator 7.1.
However, I tried testing it on Windows phone 8 emulator and wp8 phones and it is not working.
Any idea what is happening?
thanks !
推荐答案
最可能的原因是WP8模拟器和手机设备的网络路径与您的PC脱离关联。它们表现为独立的互联网实体。
The most likely reason for this is that the network path for both the WP8 emulator and phone device is disassociated from your PC. They behave as stand alone internet entities.
如果您尝试从PC流式传输到手机,则需要为手机提供计算机的IP地址。共享本地互联网。
If you are attempting to stream from your PC to your phone, you need to supply the phone with the IP address of your computer as it appears to the shared local internet.
请注意,独立手机需要连接到您的PC也在其上的本地WiFi接入点,并启用DHCP。
Note that a standalone phone needs to be connected to your local WiFi access point which your PC is also on, and with DHCP enabled.
希望这会有所帮助,这是一个很好的例子。
b Mark
Hope this helps,
Mark
这篇关于mp3流媒体适用于Windows Phone 7模拟器,但不适用于Windows Phone 8模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!