Is it possible to mute Flash and/or Firefox from a .Net app? Our app knows when it's about to initiate a phone call, so it would nice if it could mute any streamed audio on the user's browser.
Let's assume the user is known to use Firefox and the streamed content will be Flash based.
This post mentions some tools to mute Flash and FlashMute looks good but how to create a similar utility or else automate an existing tool like FlashMute?
You need to get hold of application mixer and control volume of individual applications: See this example
Related
I’ve got an application running over Citrix that needs to take a pic with a webcam attached to the client PC. The app is coded in C# and using DirectShow libraries. Citrix XenApp is version 7.x, clients are on Windows 7 and 10. Remote Desktop and Citrix seem to have the same issue.
Everything works fine on the fat client. On Citrix or Remote Desktop, of course my local webcam doesn’t show up but the “Citrix HDX Web Camera” does. When I use that and try to start the camera I get the error “Failed to add a video capture filter.”
Going on the filter hint, I loaded GraphEdit onto the server and ran that through an RDP client. I can see the Citrix HDX Web Camera as a capture source but it has no input or output pins. Not sure what to do with that.
I’ve been looking around the web for days, but no luck. There are hints around that camera access doesn’t work in Citrix by default, but it can be done. Citrix even has a support article that talks about HDX Realtime Webcam Video Compression, but it lacks technical details. It’s more about config options and not about coding.
I’m sure this can be done as there are third party products that bridge the gap for the benefit of other applications. Does anybody have a link to some good information about coding this into one’s own application? Or even to point out some wrong direction, like “Don’t bother with DirectShow. You should be using…”
Many thanks.
The same issue on my environment that the Citrix HDX Web Camera has no output pin.
If you check the pin properties on your local machine, you may see like:
Prefered Media Types:
Major type: Video
Subtype type: YUY2
Format type: VideoInfo
rcSrc {X=0,Y=0,Width=0,Height=0}
rcDest {X=0,Y=0,Width=0,Height=0}
--
etc..
I guess the media type is not in the system, so the pin cannot be rendered. Unfortunately I don't know what I need to install.
After a big search i found voice recording is not possible in asp.net 4.
using plugin like flash we can achieve the same.
can anyone share the code .net voice record and play using flash player.
or if any other alternate good way to achieve this? kindly share the code.
You dont use a normal asp.net site to do stuff like this. instead you should use Silverlight or flash. both technologies let you use the mic or webcam.
http://silvoicerecordupload.codeplex.com/
Silverlight and flash can both be implemented on a website regardless of web server.
ASP.NET is a server side technology that runs on the server. Audio recording is handled on the client side.
Flash is a current client side technology that has the ability to reliably capture audio from the user microphone, encode it and:
POST it to a (ASP.NET) web server OR
stream it to a media server like Red5, AMS or Wowza.
http://audior.ec does the former, http://flvar.com does the latter.
HTML5 might become a more feasible option in the future: http://audior.ec/blog/recording-mp3-using-only-html5-and-javascript-recordmp3-js/
I have a question regarding the possibility of creating a winforms application in C#, which is able to detect incoming calls on an iphone.
Here is the scenario:
the iphone is connected to the computer via a usb cable.
whenever the phone rings I would like to be able to do the following:
Retrive the phone number.
Use the phone number in the winforms application, to search xml filer.
Answer the phone via the application and play an automated voice message.
Is this even possible in C#? If so how could this be done and are there any libraries designed for interacting with an iphone using C#??
Thanks and regards.
Anders
There are no SDK's that allow you to develop .NET apps that interact externally with the iPhone.
If you want to write an iPhone app, but are intimidated by the learning curve you could check out MonoTouch. It allows you to write iPhone\Android apps using C#.
I am using Asp.Net/C# in my application,I have a requirement where I need to access USB devices of client computer and run one of them.It is ok if the user has right to allow it or not.I need to know whether it is possible at all from browser.If yes what can be used here flash or silverlight.
Any suggestions are much appreciated.
Thanks
In other words, "can I use web-client technology running in browser sandbox for system programming". No, you can't. Neither Flash nor Silverlight can detect or run anything from USB devices. You need desktop technology like Adobe AIR or Microsoft WPF to do that.
Update:
If you really need to do something from browser that browser can't do, there is a way. Install helper application on user machine and control it from browser app via local network. I did it once, so it's possible. If you go this way, use what you like most - both Flash and Silverlight can do this.
I am looking for a way to downloa an app store app to my PC from a C# program.
I need it to be done automatically and without leaving the program's context.
I have 2 ideas
1. using iTunes
2. implementing a component that uses the app store protocol for download
So...
How can I invoke iTunes and have download a specified app programaticaly?
Are there any documentation on App Store protocol?
Thanks,
Guy