I am working on the Windows Phone 8.1 app, in which I want to implement online video streaming and play video from windows phone device to TV through DLNA via wifi connectivity.
similar functionality to LUMIA PlayTo app, but want to stream online video over TV through DLNA.
can any one help with this because has googled a lot, but haven't found anything relevant
Any help is appreciated.
Thank you.
That is a fairly broad question. There is a MediaElement control you can use to play video. Maybe the open source PlayerFramework is more helpful. It provides a way to play lots of content, including progressive downloads, streaming, live streaming, protected content, advertisements, etceteras. And you can style the player as you see fit.
Have a look at http://playerframework.codeplex.com for the downloads, sources and documentation.
An easy start can be found here: Getting Started Guide.
Attribution for answer
Source
Author
Use and study this
Sample code
Related
I am trying to stream video from my webcam (audio and video) from .NET UWP IOT application.
I tried this WebCamApp sample from https://github.com/ms-iot/samples and it works perfectly. Now I would like to play with streaming that video to another PC/device. I am open to your suggestions on how to approach this. In past I was dealing with RTSP, but not on this platform. So far I saw that limitation is the .NET Core.
Are there any libraries for this? Or should i write something from scratch? What are your suggestions?
I don't have a complete solution, but what you're looking for is real time streaming. and I recommend using WebRTC.
WebRTC is a project built by google to support real time communication, you can play around with the sample from this website:
https://www.webrtc-experiment.com/
I found also this port for UWP, applications. But I'm not sure if it works with IOT:
https://www.nuget.org/packages/WebRTC/
I am making a netradio app on windows phone, my problem is that netradio uses the RTSP audio format and native media player in Windows Phone does not support RTSP.
As a workaround, I have to navigate to a webpage that then handles the audio.
This works fine, and plays the radio, but the problem is that as soon as the app is put in the background the music stops.
Is there a way to keep the webbrowser audio playing?
You could use the BackgroundAudioPlayer within your solution as another project where you could go through a sample here.
And also the sample from Codeplex you can try the Windows Phone Streaming Media.
https://phonesm.codeplex.com/
Hope it helps!
There is no native RTSP support with BackgroundAudioPlayer. You would need to make your own MediaStreamSource implementation to be able to use the stream. At least I didn't find any public 3rd party solutions. Check this http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e052ea29-53cf-4ebb-8558-742b67fc72ad/rtsp-support-in-wp8.
If you are up for the task of writing your own MediaStreamSource implementation, you can use this as starting point and study the RTSP protocol here.
I'm starting to learn a bit of Silverlight programing to write some stuff for Windows 8, havn't done a lot with it yet or with audio but I am trying to stream a playlist using a MediaElement.
I tried:
OutputMedia.Source=new Uri("http://provisioning.streamtheworld.com/pls/KISWFM.pls",UriKind.Absolute);
OutputMedia.Play();
but I don't hear anything playing so I have to assume it doesn't work :)
Can anyone give me a few pointers please?
Try https://shoutcastmss.codeplex.com/
Shoutcast MediaStreamSource is a MediaStreamSource
implementation of the Shoutcast protocol for Silverlight. This
MediaStreamSource allows both Silverlight 4+ OOB and Windows Phone 7
applications to consume a Shoutcast stream using a MediaElement.
Currently, Mp3 and AAC+ Shoutcast streams are supported on Windows
Phone. However, ONLY Mp3 is supported on Desktop Silverlight.
There is also limited (i.e. somewhat untested) M3u and PLS playlist
support.
Please report any issues playing Shoutcast streams with the following:
* URI to the problem stream
* Description of the problem
* The error returned (or not!) from the Shoutcast MediaStreamSource
so what I want to do is build up a custom web player that should have the facility to allow any user to select a file from his local hard disk and the play that, so that some other person can view it in real time, just like doing a video chat, but instead of a webcam, there would be a video clip that is being streamed.
so far, what I've come across is Microsoft's SmoothStreaming Framework, but it did not help much. Please help.
Regards.
See following posts, hopefully it might be helpful.
Streaming with Windows Media Services and ASP.NET
Microsoft Media Platform: Player Framework
I saw the Velocity channel's "Inside West Coast Customs" this week featuring the construction of Microsoft's (Channel 9) Project Detroit, and was really impressed by the ability to play the Kinect's video and audio feeds from Windows Phone 7. I decided to put together a little utility of my own using the same principle, but am unable to find any code samples on how to accomplish this.
Can anyone here provide me with a code sample, or point me in the right direction? Microsoft is planning to release some portions of their source code from Project Detroit eventually, but I'm hoping this has already been done elsewhere.
I appreciate any help you guys can provide. Thank you!
Best regards,
Sebastian
Take a look at the Kinect Service Kinect Service
They used windows phone sockets to relay the data. It even includes a sample windows phone app.