I have simple html/js application with embedded VLC WebPlugin and few methods for play/pause. This application is controlled by another javascript file through simple server/websocket c# application. Topology is like this:
WebpageWithVLCplugin <= ws://localhost:8181 => C#Server <= http://localhost:8080 => WebpageWithControl
Everything works fine - sending controls from Control page through C#Server is fast and reliable even through different domains, but when I send "play" command - VLC plugin starts to play video - no more commads are received by page with "WebpageWithVLCplugin" until playing is finished. So it seems that VLC WebPlugin blocks websocket - but I dont have any idea how or why or how should I find problem.
edit: When WebpageWithVLCplugin is controlled not through websockets (window.postMessage or direct methods call), everything works fine even while VLC plugin is playing.
Thanks for advices
OK, I have found my silly mistake - Simple server is even file-provider for VLC player, so when VLC player starts to play, server is busy with providing video file. When multi-threaded, everythink works fine.
Related
I would like to know if there is a technique or solution for the follow problem.
I have a software application that is currently running inside of a Microsoft RDP session. I have some help resources built into it in which some of them open up on a webbrowser. Some of them are YouTube videos. The problem is taht through organisational policies, they cannot open YouTube clips within the RDP which connects to a interstate server.
What I would like to do is instead open up a webpage outside of that RDP connection on the local host computer instead, which does not have any restrictions like opening up YouTube webpage to play video clips.
Can you please suggest a technique, utility or solution to this problem?
Thanks,
Colin.
The nicest way to do this would probably be to create a dynamic virtual channel plugin for RDP: https://msdn.microsoft.com/en-us/library/bb540859(v=vs.85).aspx
You would have a server-side component registered to handle the protocols (http/https, I assume) you want to redirect back to the client, possibly with some filtering logic if you still want a few to run server-side (such as intranet sites); then a client-side mstsc plugin whose only job is to call ShellExecute on the URLs you pass back.
Piggybacking on clipboard redirection might be less code, but it obviously has side-effects - e.g it obliterates anything else the user might have had on the clipboard.
I have Gridview when i click play it will play audio file it will get directory from database and play the audio by opening windows media player it working fine in visual studio i am using System.Diagnostics.Process in my code.I hosted application in IIS where OS is Windows 7 when i try to play its not opening windows media player and not playing audio file.
I had seen suggestions in Internet where i need to give permission to IIS admin Service to interact with desktop applications but i hadn't seen any IIS admin Service in Services.msc.
Any one can suggest me
Instead of calling a desktop application, you can use javascript or the HTML audio tag.
There's a js library called Howler (https://github.com/goldfire/howler.js/), it makes easier to play audio from the browser.
In your gridview, you can have a column that has a button to play the audio, this button has an attribute that contains the audio path
Something like this:
<button data-audiosrc="pathtoaudio.mp3">Play audio</button>
Then you use this tag to call the howler to play the audio.
This is one approach.
Another one is to publish these files to an IIS web application and you can call it by the browser http://AudioIISApp/youraudio.mp3 (for example), will open another tab, so the user can listen or download.
This second is more easy and faster to implement!
I have a vcf project. My problem is my service isn't playing wave sounds. When debugging vs2010 will play sounds, but if I use a web server (iis 7), the sound is not playing. I know it's an unusual request but this server is special and it is talking people. I am using system.media lib and my object is SoundPlayer.
You should be able to use Process to run a separate process with your sound player. I'm not at all sure that this is what you are looking for.
I've created a Windows Forms application that basically contains an HttpListener which launch a Form for each request. I have to show forms server side because I have to take a snapshot of what it's shown on the screen to send it to the client.
I've also made a asp.net web application in which I show those images sent from the HttpListener who act as a server.
Everything works fine on my machine but now that I must deploy it on my company's website I dont know how to do it, anyone has a solution? I haven't remote control on server, I can just upload files inside using FTP.
What if I create a page inside my web application to launch the exe file? Any suggestion is really welcome!
I'm definitely no OpenGL expert but I believe that its possible to use OpenGL to render a scene without displaying it to a screen. Some preliminary research indicates that "pbuffers" allow you to render an image to a texture (which would presumably then allow for programatic access).
Can i save an OpenGL scene as an image without showing it?
Note that using OpenGL probably depends on the server machine having a suitable graphics card. As most servers don't come with very capable graphics card (some servers don't come with any graphics card) this is definitely something that you should check beforehand.
I'm working on an application that is joining two projects in two different courses in my Software Engineering degree:
SWE 490: Component Based Software Engineering
SWE 344: IP and Client Server programing
Here's what's my application about :
Client Side (Desktop Based): Main function is to capture the webcam video and stream it to the server.
Server Side (Web Based): Main function is to receive the streamed video from the client and display it on the website in real time.
Brief Description of the application :
The users will be able to monitor their Webcams remotely by streaming their webcams output to a remote server that is accessible via the web. The system will also serve as a motion detection system (if activated by the user) to notify the users via email if any motion has been detected on their webcams. In addition the system also allows users to schedule recordings and watch them online through live streaming.
I'm preparing a proposal for the project and I've made some initial plans for the system structure that is represented below :
Client Side Components (Desktop) :
Server Side Components (Web Server) :
My Question :
My main issues are with the real time video streaming (sending and receiving components) as this is a new topic for me.
I know I can program a socket and send the captured videos as a stream of bytes to the main server, but what I'm concerned about is how am i going to display the received stream on the web browser at the server side.
My situation is similar to this question except that it's for video streaming and not image streaming.
I've been reading some articles and it seems like it can be done using Silverlight and I'm hoping someone can point me to the right direction.
Your opinions on the project in general are more than welcomed.
I know it's in VB.Net, but this article may be a useful reference guide.
P.s. you misspelled Quartz in your diagram ;)
I agree that Silverlight should probably be your first stop.
You can start here:
http://www.silverlight.net/community/samples/silverlight-samples/video-chat-35809/
[EDIT: 28/02/2014]
Okay so this is obviously no longer valid, you can stop down voting it already ...