Multiple VLC windows c# Volumes linked

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
cstambaugh
Blank Cone
Blank Cone
Posts: 11
Joined: 06 May 2016 16:25

Multiple VLC windows c# Volumes linked

Postby cstambaugh » 11 Oct 2019 13:28

Hello

I have searched and not found any solution for this issue that seems to work. Before I go and create alternate muted rtsp streams and extensively more coding, I wanted to ask here ( because honestly I'm not that great at coding)

So over the past few years I've been messing with C# Visual Basic 2017 and making apps for viewing cameras ( rtsp streams) in our facility. What I have never noticed, until the one I am creating now, is that all the windows volumes are linked. You cannot mute one stream by the player it mutes them both. But what's odd is that if you start the application, and before playing a stream, the buttons do not control each other. It is only when a stream is called that it interacts with Windows and opens ONE volume control for the entire app, not individual for each plugin I.e. axVLCPlugin21 and axVLCPlugin22. No matter what I have tried in the code, with a manual button to set volume to zero on click, it ends up working both volumes at the same time. I found a thread on here [url]https://forum.videolan.org/viewtopic.php?f=32&t=147229[/URL] that addresses the same issue but not using C# in a Windows form. I didn't want to post in that thread because its a different code but I was wondering if anyone knew how to call these in C#?

I'm thinking it may need to be passed in this section of code ( there is identical code for a combobox2)

Code: Select all

private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { ComboBox combo_box = (ComboBox)sender; axVLCPlugin21.playlist.stop(); axVLCPlugin21.playlist.playItem(Removedaddress); }
I am falling short Googling a solution But this seems to be where the Audio seems to go to one Audio control rather than individual.
Maybe someone could tell me how to assign the libvlc.dll to the individual plugins using C#?

Any direction would be helpful
Thanks
Have a great day

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests