VS 2008 and mux=ts{csa-ck=MYKEY} ?!

This forum is about all development around libVLC.
saricnet
Blank Cone
Blank Cone
Posts: 39
Joined: 18 Jan 2009 18:10

VS 2008 and mux=ts{csa-ck=MYKEY} ?!

Postby saricnet » 05 Apr 2012 13:33

Hello everyone, I am currently working in VS 2008 using activex for my video player based on --ts-csa-ck, but I do not know how to add this feature in the player ?

my code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using AxAXVLC;

namespace vlcTest
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial class Window1 : Window
{
AxVLCPlugin vlc;
public Window1()
{
InitializeComponent();
vlc = new AxVLCPlugin();
windowsFormsHost1.Child = vlc;
}

private void button1_Click(object sender, RoutedEventArgs e)
{

string mrl = "http://127.0.0.1:1234";

vlc.addTarget(mrl, null, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
vlc.play();
}
}
}
}

Is it possible to use --ts-csa-ck mykey as command line arguments ?, like:

string key = "--ts-csa-ck 0123456789123456";
string mrl = "http://127.0.0.1:1234";

vlc.addTarget(mrl, key, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
vlc.play();

Thanks

saricnet
Blank Cone
Blank Cone
Posts: 39
Joined: 18 Jan 2009 18:10

Re: VS 2008 and mux=ts{csa-ck=MYKEY} ?!

Postby saricnet » 06 Apr 2012 10:00

Any help ?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests