How to play live streaming in windows phone 8.1 silverlight app?

Hi,
I am developing a windows phone 8.1 silverlight app. In my I want to show live streaming youtube channel , I think it is not possible, 
Actually that youtube channel is a television channel , I want to stream that live tv in my app.(I tried to load youtube channel in webbrowser in iframe tag but it is not opening)
Anybody help me how to play live tv or live streaming in my app,
Thanks..
Suresh.M

Hello,
You will likely need to write a custom
MediaStreamSource that can access the media stream and parse it. Windows Phone supports h.264 natively and as long as the site serves up a media stream that contains h.264 frames you can parse it and have our built in decoder decode and display it. You
will need to have intimate knowledge of the streaming protocol used by the website that you are trying to play. You must also make sure that the website is not using protected content. IANAL so I would recommend that you have your local law professional
(lawyer) review the licensing of the website that you are attempting to connect to and stream from before continuing your development. Your lawyer can make sure make sure their licensing allows you to do this.
I hope this helps,
James
Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

Similar Messages

  • Doubt regarding HTTP Live Streaming for windows phone 8.1 silverlight app?

    Hi,
    I am developing a Windows phone 8.1 silverlight app.
    I want to add live streaming youtube channel , thats why I used  https://phonesm.codeplex.com/ this link as a reference , and I am able to play the links given in the samples, but I am unable to play my link https://www.youtube.com/watch?v=p2GF-QQS6n0
    I am getting 3108 unable to play media error with my link,
    My question Is there any need of streaming server ?
    If yes can anyone help how to  create the streaming server.
    Thanks....
    Suresh.M

    Hi Suresh.M
    As I can see a similar question on the Windows Phone Streaming Media discussion:
    https://phonesm.codeplex.com/discussions/545737
    You may need check into the call stack and find out what is the root cause, for instance if there any chance that your phone cannot reach to the video address, and did you enable some network capabilities, etc.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to perform click action on the notification received in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app , I added push notification service to my app and I am able to receive notifications . 
    My question is when the app is not opened and the notification is received , if the user clicks on the notification it is directly taking to the app ,
    but I want to redirect it to a specific page in my app How is it possible?
    Any help..
    Thanks..
    Suresh.M

    Thanks for your information
    but where to write the rootframe.urimapper  , I think it is in app.xaml.cs , If I write urimapper , how do I know I am navigating from notificaition?
    Suresh.M
    Why you need to know it is from notification? If you must need to know this, try to check deep link
    Best Regards,
    Please remember to mark the replies as answers if they help

  • How to publish Windows Phone 8.1 Silverlight app to Windows Phone store?

    I created Windows Phone 8.1 Silverlight app, and I can't to upload it into WP store. I want to use Create
    App Packages tool in Visual Studio 2013 Professional, but it's impossible for Silverlight apps. I read many guides
    on dev.windows.com. It's necessary to upload only .appx, .appxbundleor .appxupload files,
    but I have .xap file
    only in Bin\ARM\Release folder.
    May anyone help me?

    Appx packages are only for Windows Runtime apps. Windows Phone Silverlight apps use xap files. The Windows Phone Store will accept either xap (for Silverlight) or appx (for Runtime) apps.
    I discussed this in more detail in my blog entry: Why can’t I create an app package? Windows Phone Xap vs. Appx   

  • How to play live streaming video which is being streamed via http or rtsp

    I am building an application which needs to display live mpeg2 video; the source of the live stream is over e network, e.g,http://xxx.xxx.xxx.xx:8080.
    To see if QT had this capability, In QT for Open URL, I tried, rtsp://xxx.xxx.xxx.xx:8080 and http://xxx.xxx.xxx.xx:8080, but I am not able to see any video. (I tried setting my QT options per posts I have read)
    Also, I'm able to see the live stream using Windows Media Player and VLC. (I used VLC to stream the video over the network and I tried streaming several formats but still could not see video in QT; when using rtsp, status of QT says negoiating and never transition from this state)
    Any advice on this topic?
    Thanks in advance

    QuickTime will not play MPEG-2 content, streaming or otherwise, without the addition of the extra-cost MPEG-2 Playback Component. Even with that component, QuickTime cannot play all MPEG-2 streams. Read the FAQ carefully for details.

  • Doubt regarding facebook integration for windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight application . For my application I integrated the facebook login. For this facebook integration I used the login with facebook app method.
    My doubt is after getting the app id from the dev center , I updated the appid at developers.facebook.com , wmmanifest.xml (In extensions protocol (msft-appid without dashes)) . Or do I need to change the product id in the place holder also , I tried to
    change the productid also but I am getting error like some signature is wrong try with different signature. I am confused how to do it .
    Any help,
    Thanks...
    Suresh.M

    Hi Suresh,
    According to your description, I assume you want to complete facebook configuration in windows phone silverlight app. Please refer to the following link to see how.
    http://facebooksdk.net/docs/phone/config/.
    You can find code sample from
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/tree/master/Samples.
    Facebook API is third-party library and it is our of our support range. You can post questions on here.
    https://github.com/facebook-csharp-sdk/facebook-winclient-sdk/issues.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • How can i use shoutcast streams on windows phone?

    I have an idea to make an application but i don't know how to use shoutcast streams in windows phone ? Is there any API or something that i need to fallow?
    Alican

    At the moment Shoutcast audio streams are not supported natively in Windows Phone. You will need to write a self implementation of IMediaStreamSource to parse the audiostream and also handle the http connections to the streaming server.
    Another solution is to use a third party implementation such as www.jupitersdk.com.
    It offers a well documented API, is easy to integrate and use into your project and there is a trial version for testing purposes.
    Jupiter Sdk has successfully been used in several RadioStreaming apps which can be found in the Windows Phone Store. By the way, it allows not only to play Shoutcast and Icecast audiostreams in Windows Phone 8.1, but also to retrieve the stream metadata (i.e.
    current Title and Artist), among other interesting features.
    Disclaimer: I am a member of the Jupiter Sdk Development Team. For information and support you can use the contact form at www.jupitersdk.com

  • How to do live streaming to FMS3 on Linux?

    Hi, I'm currently running FMS3 on RedHat Linux and it's
    working fine for VOD files. I'm trying to figure out how to do live
    streaming with this and am confused. I know that if I was running
    Windows, I could just use Flash Media Encoder, but I'm not. Has
    anyone had any experience with this? I know that I would obviously
    need a capture card but then what other software is needed to make
    FMS3 aware of this live stream?
    Any insight would be greatly appreciated.

    You would still use the FME (Flash Media Encoder) to send the
    stream to the FMS3. You simply need to specify your linux's servers
    IP instead of localhost.
    Now I have been playing around with the Live sample
    application that Adobe provided and I too have been seeing some
    issues with it. As of yet I haven't solved them all on my server.
    But I don't think you should have any major problem.

  • Flash media live encoder, play live streaming failed!

    Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
    The following is fmle log:
    Tue Jun 22 2010 12:25:19 : Primary - Connected
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
    Tue Jun 22 2010 12:25:19 : Session Started
    Tue Jun 22 2010 12:25:19 : Video Encoding Started
    The following is my source code to play live stream:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
             import mx.controls.Alert;
             private function showFlv():void {
                //myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
                myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
                 Dumper.info(myVideo.source);
             ]]>
        </mx:Script>
        <mx:Panel width="100%" height="100%">
          <mx:VBox width="100%" horizontalAlign="center">
            <mx:Text text="code display"/>
            <mx:Button label="play flv" click="showFlv();"/>
          </mx:VBox>
          <mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
        </mx:Panel>
    </mx:Application>
    If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video.  Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream",  Can't get video. Why?
    I just want to play live video on pc.

    Who can help me??

  • How to print a grid from windows phone 8.1 application

    Hello ,
    I want to print a grid from a windows phone application.
    For tablet I can print using this namespace:
    using Windows.Graphics.Printing;
    using Windows.UI.Xaml.Printing;
    But they are only for Tablet.
    Please suggest a solution of printing from windows 8.1 phone application.
    Thanks

    Hi waqar.haider.confiz,
    >>How to print a grid from windows phone 8.1 application                                 
    As far as I known, in Windows Phone 8.1 app it does not have such API for us to print a grid. I will recommand you submit this feature request on this
    UserVoice forum.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use the code written in App.Xaml.cs in Windows Phone 8 in Windows Phone 8.1 Universal Apps

    i have a App.xaml.cs file in Windows Phone 8.0 , amd i want to use the code in that file to make work with App.xaml.cs file in Windows Phone 8.1 Universal Apps
    My Windows Phone 8 App.xaml.cs file is like as below
    namespace OnlineVideos
    public partial class App : Application
    #region Initialization
    public static dynamic group = default(dynamic);
    public static dynamic grouptelugu = default(dynamic);
    public static ShowList webinfo = default(ShowList);
    public static WebInformation webinfotable = new WebInformation();
    AppInitialize objCustomSetting;
    IsolatedStorageSettings settings = IsolatedStorageSettings.ApplicationSettings;
    DispatcherTimer timer;
    IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication();
    public static bool AdStatus = false;
    public App()
    UnhandledException += Application_UnhandledException;
    if (System.Diagnostics.Debugger.IsAttached)
    Application.Current.Host.Settings.EnableFrameRateCounter = true;
    //RootFrame.UriMapper = Resources["UriMapper"] as UriMapper;
    AppSettings.NavigationID = false;
    objCustomSetting = new AppInitialize();
    timer = new DispatcherTimer();
    Constants.DownloadTimer = timer;
    InitializeComponent();
    InitializePhoneApplication();
    #endregion
    #region "Private Methods"
    void StartDownloadingShows()
    timer.Interval = TimeSpan.FromSeconds(10);
    timer.Tick += new EventHandler(timer_Tick);
    timer.Start();
    void timer_Tick(object sender, EventArgs e)
    try
    BackgroundWorker worker = new BackgroundWorker();
    worker.DoWork += new DoWorkEventHandler(StartBackgroundDownload);
    worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted);
    worker.RunWorkerAsync();
    catch (Exception)
    void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
    if (AppSettings.StopTimer == "True")
    timer.Stop();
    AppSettings.StopTimer = "False";
    async void StartBackgroundDownload(object sender, DoWorkEventArgs e)
    switch (AppSettings.BackgroundAgentStatus)
    case SyncAgentStatus.DownloadFavourites:
    if (AppSettings.DownloadFavCompleted == false && AppSettings.SkyDriveLogin == true)
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    ReStoreFavourites reStoreFav = new ReStoreFavourites();
    await reStoreFav.RestorefavFolder(ResourceHelper.ProjectName);
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadFavourites;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadFavourites;
    break;
    case SyncAgentStatus.UploadFavourites:
    bool result = Task.Run(async () => await Storage.FavouriteFileExists("Favourites.xml")).Result;
    if (AppSettings.SkyDriveLogin == true && result)
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    UploadFavourites upLoad = new UploadFavourites();
    await upLoad.CreateFolderForFav(ResourceHelper.ProjectName);
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadParentalControlPreferences;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadParentalControlPreferences;
    break;
    case SyncAgentStatus.RestoreStory:
    if (AppSettings.DownloadStoryCompleted == false && AppSettings.SkyDriveLogin == true && (ResourceHelper.ProjectName == "Story Time" || ResourceHelper.ProjectName == "Vedic Library"))
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    RestoreStory restore = new RestoreStory();
    //if (ResourceHelper.ProjectName == "Story Time")
    await restore.RestoreFolder("StoryRecordings");
    //else
    // await restore.RestoreFolder("VedicRecordings");
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadStory;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.UploadStory;
    break;
    case SyncAgentStatus.UploadStory:
    if (AppSettings.SkyDriveLogin == true && (ResourceHelper.ProjectName == "Story Time" || ResourceHelper.ProjectName == "Vedic Library"))
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    timer.Stop();
    UploadStory st = new UploadStory();
    //if (ResourceHelper.ProjectName == "Story Time")
    await st.CreateFolder("StoryRecordings");
    //else
    // await st.CreateFolder("VedicRecordings");
    Deployment.Current.Dispatcher.BeginInvoke(() =>
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadFavourites;
    timer.Start();
    else
    AppSettings.BackgroundAgentStatus = SyncAgentStatus.DownloadFavourites;
    break;
    default:
    ShowDownloader.StartBackgroundDownload(timer);
    break;
    #endregion
    #region "Application Events"
    private void pop_Opened_1(object sender, EventArgs e)
    DispatcherTimer timer1 = new DispatcherTimer();
    timer1.Interval = TimeSpan.FromSeconds(5);
    timer1.Tick += timer1_Tick;
    timer1.Start();
    void timer1_Tick(object sender, EventArgs e)
    (sender as DispatcherTimer).Stop();
    Border frameBorder = (Border)VisualTreeHelper.GetChild(Application.Current.RootVisual, 0);
    Popup Adc = frameBorder.FindName("pop") as Popup;
    Adc.IsOpen = false;
    private void Application_Launching(object sender, LaunchingEventArgs e)
    SQLite.SQLiteAsyncConnection conn = new SQLite.SQLiteAsyncConnection(Constants.DataBaseConnectionstringForSqlite);
    Constants.connection = conn;
    AppSettings.AppStatus = ApplicationStatus.Launching;
    AppSettings.StopTimer = "False";
    objCustomSetting.CheckElementSection();
    SyncButton.Login();
    if (AppSettings.IsNewVersion == true)
    AppSettings.RatingUserName = AppResources.RatingUserName;
    AppSettings.RatingPassword = AppResources.RatingPassword;
    AppSettings.ShowsRatingBlogUrl = AppResources.ShowsRatingBlogUrl;
    if (ResourceHelper.AppName == Apps.Online_Education.ToString() || ResourceHelper.AppName == Apps.DrivingTest.ToString())
    AppSettings.QuizRatingBlogUrl = AppResources.QuizRatingBlogUrl;
    AppSettings.LinksRatingBlogUrl = AppResources.LinksRatingBlogUrl;
    AppSettings.ShowsRatingBlogName = AppResources.ShowsRatingBlogName;
    AppSettings.LinksRatingBlogName = AppResources.LinksRatingBlogName;
    if (ResourceHelper.AppName == Apps.Online_Education.ToString() || ResourceHelper.AppName == Apps.DrivingTest.ToString())
    AppSettings.QuizLinksRatingBlogName = AppResources.QuizLinksRatingBlogName;
    Constants.UIThread = true;
    group=OnlineShow.GetTopRatedShows().Items;
    grouptelugu = OnlineShow.GetRecentlyAddedShows().Items;
    Constants.UIThread = false;
    StartDownloadingShows();
    private void Application_Activated(object sender, ActivatedEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Active;
    if (ResourceHelper.AppName == Apps.Kids_TV_Pro.ToString())
    AppSettings.ShowAdControl = false;
    private void Application_Deactivated(object sender, DeactivatedEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Deactive;
    AppState.RingtoneStatus = "TombStoned";
    private void Application_Closing(object sender, ClosingEventArgs e)
    AppSettings.AppStatus = ApplicationStatus.Closing;
    private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
    FlurryWP8SDK.Api.LogError("Error at Application_UnhandledException in App.xaml.cs", e.ExceptionObject.InnerException);
    if (System.Diagnostics.Debugger.IsAttached)
    System.Diagnostics.Debugger.Break();
    else
    Exceptions.SaveOrSendExceptions("Exception in Application_UnhandledException Method In App.xaml.cs file.", e.ExceptionObject);
    e.Handled = true;
    return;
    #endregion
    #region Phone application initialization
    public PhoneApplicationFrame RootFrame { get; private set; }
    // Avoid double-initialization
    private bool phoneApplicationInitialized = false;
    // Do not add any additional code to this method
    private void InitializePhoneApplication()
    if (phoneApplicationInitialized)
    return;
    // Create the frame but don't set it as RootVisual yet; this allows the splash
    // screen to remain active until the application is ready to render.
    RootFrame = new PhoneApplicationFrame();
    if (App.Current.Resources["AdVisible"] as string == "True")
    RootFrame.Style = App.Current.Resources["RootFrameStyle"] as Style;
    RootFrame.ApplyTemplate();
    RootFrame.Navigated += CompleteInitializePhoneApplication;
    // Handle navigation failures
    RootFrame.NavigationFailed += RootFrame_NavigationFailed;
    // Ensure we don't initialize again
    phoneApplicationInitialized = true;
    //NonLinearNavigationService.Instance.Initialize(RootFrame);
    private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
    if (System.Diagnostics.Debugger.IsAttached)
    System.Diagnostics.Debugger.Break();
    else
    Exceptions.SaveOrSendExceptions("Exception in RootFrame_NavigationFailed Method In App.xaml.cs file.", e.Exception);
    e.Handled = true;
    return;
    // Do not add any additional code to this method
    private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
    // Set the root visual to allow the application to render
    if (RootVisual != RootFrame)
    RootVisual = RootFrame;
    // Remove this handler since it is no longer needed
    RootFrame.Navigated -= CompleteInitializePhoneApplication;
    #endregion
    Mohan Rajesh Komatlapalli

    Basically you are asking as how to port silverlight to Xaml (RT). Go one by one converting each API from silverlight to XAML, like IsolatedStorage isn't there in RT, so look for its alternative etc.
    See here the namespace/class mappings : Windows Phone Silverlight to Windows Runtime namespace and class mappings
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • 2 Iphone4 play live stream not same

    I stream live video from my streaming server and use 2 iphone4 to display.
    Unit 1. it play live stream normally.
    Unit 2. it play about 20-30 sec, and replay again again and again.
    Please advise me, what parameter that i should check or tune ?
    Thanks,

    I tried streaming with the Adobe Flash Media Live Encoder3 instead of my Broadcater.swf.  This connects fine and pushes h.264 no problem.
    But the reciever is still seeng VOD not Live video.
    Is there something wrong with my receiver?

  • How to play FMS stream by MediaPlayback?

    How to play FMS stream by MediaPlayback?
    flash8/winxp/fms2.0
    Thank you very much!

    After searching, I came to know about "Tuner radio" application. (URL: http://www.indexcom.com/iphone/description.html). So it is possible. But now how to achieve this?

  • How to solve this error from window phone 80073cf9 lumia 630.

    any one know how to solve this error from window phone 80073cf9  lumia 630.

    Hello Muhammad,
    We appreciate the post, but this forum is for Windows Store and Phone Developer related questions. Your question can best be answered through the
    Windows Phone support page.
    Thanks!
    -Jonathan
    Windows Store Developer Support
    Office Store Developer Support

  • How to access Calendar Events in Windows Phone 8.1 SDK

    Hi,
    I have multiple email accounts setup on my Windows Phone 8.1.
    I have requirement to access appointments in calendar for specific email accounts and perform some operation. I found sample code on MSDN and all of the are examples of using Microsoft.Phone namespace. But as I am using Windows Phone 8.1 SDK and not Windows
    Phone 8.1 Silverlight SDK.
    Can someone guide me of an equivalent namespace/method of accessing calendar appointments using Windows Phone 8.1 SDK.
    Thanks,
    Nasir

    Hi nasir,
    If you would like to modify the server side appointments I believe you need to call server side api to manipulate them.
    For instance if we would like to modify the data into O365 server,
    Get started with the SharePoint 2013 REST service should be a good start. Also calling Exchange
    Web services is a good idea.
    --James  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Help with buttons in AS3

    Hi Folks, I'm stuck with a simple flash movie I need to create in which two images fade in and fade out, and each of them must be clickable and hyperlink to a separate URL. I've got the fading going okay, but I cannot for the life of me get even a si

  • Upgrade Office from 2010 to 2013 script

    Hi Everyone,  I am planning upgrade of 500+ clients to the latest version of Office.  Currently everyone has Office 2010 32bit installed which I would like to uninstall prior to upgrading. What is the easiest way of doing this? Startup script? GPO? T

  • Maintain archiving parameter(s) for output type RD00(appl.V3)

    Hi Guys,              While trying to get the output for billing documents I'm facing a error : Maintain archiving parameter(s) for output type RD00 (appl.V3) Diagnosis At the time of output determination,the archiving parameters for output type RD00

  • How to hide sort buttons in BEx Web?

    Hi, I've got an input-ready query with hierarchy on lead column and key figures on data columns. I'd like to hide sort buttons in column headers to decrease the space required and make the screen simpler. Any possibilities to get rid of these, in thi

  • GridbagConstraints layout resized in a tabbed dialog

    Hello all: I created a customized dialog and run it as a standalong app. This app contains two tabs, first one's layout for the main panel is a GridbagConstraints, and I can put GUI components in a way that I desired. The 2nd tab is a SplitPane, the