Little help needed with activex (1 Viewer)

GaryW

Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    I am programming a plugin to make it possible to get a video/tv/radio stream from a location with a vlc activex client. I have created a windows forms application and all is working fine.
    Now I would like to make it possible in MP. How do I embed it in a MP form?
    Does anyone have some code snippet available to give me a push in the direction?
     

    Zipperzip

    Retired Team Member
  • Premium Supporter
  • April 25, 2004
    76
    0
    The Netherlands
    I am programming a plugin to make it possible to get a video/tv/radio stream from a location with a vlc activex client. I have created a windows forms application and all is working fine.
    Now I would like to make it possible in MP. How do I embed it in a MP form?
    Does anyone have some code snippet available to give me a push in the direction?

    Can't you use the WindowsMediaPlayer for this, would save you much work:

    Code:
    MediaPortal.Player.g_Player.PlayVideoStream(filename);
    GUIGraphicsContext.IsFullScreenVideo = true;
    GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);

    greets Marc
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    No, because the stream (http://) is a TS stream, and the new TV engine will only support rtsp. I either need to put the vlc activex control in my plugin, or, there has to be a way (software server app) to transform the ts stream into a rtsp stream :)
     

    Zipperzip

    Retired Team Member
  • Premium Supporter
  • April 25, 2004
    76
    0
    The Netherlands
    Well then you could look at this. Its an externalplayer, something gregmac45 and i were messing around with.

    Outcome dll should go to plugin\externalplayers\

    its by far from working perfect, but it may give you some ideas.

    greets Marc
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    Bram,

    the dreambox can record and the plugin will be able to list the recordings and play them as well. (msn:gary@gary.nu)
     

    Users who are viewing this thread

    Top Bottom