Windows Phone 8 - Playing streamed audio (internet radio station) - c#

I am trying to make an application that would play an audio stream (mp3) from the following URL http://icecast6.play.cz/radio1-128.mp3. I am struggling to get it working. Is there any default support for cases like these? That the content is continuously streamed?
I have tried to use Background Audio Agent and set Media Element but none of that has been working for me. Would Background Audio Streamer be an option for me? I would be happy for any similar example that I would use to my advantage.
Thank you

I found phonesm project on codeplex that provides great examples and functionality for implementing internet audio streaming.

You need to use BackgroundAudioPlayer by creating another project and adding its reference to your project.
Check this link:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978%28v=vs.105%29.aspx

You can use Microsoft player framework.
For more details Player Framework

Related

How do stream video from my site and play in unity app?

I want to make a archive of my videos (high quality videos) on my site or other sites and I want to stream them online from the unity exported app.
How can I make stream option because if I preload it in the app, the size of the app is very big which is not needed, want the app to be small in size.
I also tried using YouTube streaming in the app but it only support up to 720p using plugin available on the asset store. Any steps or tutorials is much appreciated. Can someone please help I am stuck here and do not know how to do this.
For a Android/IOS app you can use a plugin called Easy Movie Texture, is not free but the plugin works great and the support is very good too.
All you need to do is add the MediaPlayerCs.cs to the gameObject who will be the "screen" then assign the path of your video in the inspector.(in your case an url)
All of this is explained in the plugin manual.
Link to plugin: https://www.assetstore.unity3d.com/en/#!/content/10032

How to make the headphones hear the microphone in C# (not streaming)

Windows Sound mixer/settings can set the microphone to play over the speakers. I'm looking for a way to do that through C#. I'm assuming there is a DLL reference or .NET call that might be able to.
Everything I've been finding invariably goes back to streaming, which I don't want to do. Unless that's whats actually happening under the hood when changing the audio settings in windows.
If it helps, I'm using C# 3.5 (Unity App) and running on Windows 10 latest.
Thanks!
You can do this with Core Audio APIs link
For implementation you can refer
https://blog.sverrirs.com/2016/02/windows-coreaudio-api-in-c.html

playing .flv videos in windows store apps

I am developing a windows store app and I want to play .flv video from url.I used media element control but it is not giving any output.I also tried to load webpage which contain .flv videos in webview but it is not showing the video.I am new to windows store app development.If anyone can suggest something it will be of great help.
Thanks in advance.
the url of video is:http://video.co-learn.in/m1/flvplayer/flvplayer_test1.php?3tcode=3TAE1651&fname=3TAE1651_1L1A.flv&height=400&width=400
I think its not possible to play FLV video formats. You need to create your own decoder for it. Have a look at this official Microsoft answer: http://social.msdn.microsoft.com/Forums/windowsapps/en-US/0b1d2d0d-f7ba-4a9e-80bb-d67059453c33/play-mpegflv-files-im-media-element
UPDATE
This thread might be useful to you in getting a hint about how to add codec packs in Metro Style app: http://answers.flyppdevportal.com/categories/metro/csharpvb.aspx?ID=054eca2f-4583-483b-8d46-ce7d6214e4f2
FLV is not one of the Supported audio and video formats (Windows Store apps) (Windows)‎ .
Your best chance would be to update the URL to provide a supported format.

Recording Audio sound on Internet - C# ASP.NET

I want build an application on web which records the audio sound through Mic.
If any one can provide some appropriate approach or some links would be helpful.
also if you can suggest some third party control which is free.
The technology for Implementation - ASP.NET , C#
Since you are looking to use C#, check out Silverlight 4 which added microphone support to Silverlight. Here is a tutorial on accessing the microphone in Silverlight 4. Scratch Audio is a great example of a Silverlight support with microphone support.
javascript does not give mic support. You would have to include another technology to do this.
I know flash supports microsoft input. It might be the best place to start. I don't know if silverlight has these features.
The only other things i can think of would be an activeX control for IE, or a standalone application. Both of these look like much worse approaches
You can use flash to record from microphone and upload it to a server. For the server you can use Red5 which is great open source server.
Here are some examples:
http:// => fms.denniehoopingarner.com/
http:// => mariofalomir.com/blog/?p=101
(Sorry but i can only post 1 hyperlink)

playing video in asp.net

here i am working on a project in which a user can upload many videos and can view so now i want to develop something which played video file also on low bandwidth internet connection and i never did such as work before so i don't have any idea about so please suggest me some user tips and techniques.
I think you can consider using Silverlight or Flash. Currently those are the most commonly used solutions for your needs.
You can use SilverLight player (article) to stay with .net background but also can mix site with Flash (flash advantage: it's much more widespread compared to silverlight, though the gap is getting closer)
How to put video on site with Flash
if you want to stick to .net platform try using Silverlight video players.. they have good support for streaming and buffering for various media types..
try this:
http://slvideoplayer.codeplex.com/
Regards.

Categories

Resources