ActiveX in .Net application

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Alexolut
Blank Cone
Blank Cone
Posts: 21
Joined: 28 Aug 2012 12:39

ActiveX in .Net application

Postby Alexolut » 28 Aug 2012 12:58

Hello

I want to play video stream in my C# application. I try to use VLC 2.0.3 ActiveX (v2) to do this. But i have a problem.
For test purpose i use this video stream: [url]rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov[/url]

When i open it in VLC player than play well, but when i try to play in ActiveX it does not.
In VLC version 1.1.11 stream was played in both cases (activeX & VLC player).

Here is some code how i use activeX in my application:

Code: Select all

vlcPlugin.playlist.items.clear(); // vlcPlugin has type: AxAXVLC.AxVLCPlugin2 string uri = @"rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov"; //var options = new string[] { ":ffmpeg-threads=1" }; //vlcPlugin.playlist.add(uri, null, options); vlcPlugin.playlist.add(uri); vlcPlugin.playlist.play();


Another problem with 2.0.x (2.1.0-git too) that I can't pass options to playlist entry (commented lines in code above).
Thanks for any help.

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests