How to setup Windows Media Service using Windows Media Http Streaming Protocol? - stream

Windows Media Service default using MMS protocol. So how to setup Windows Media Service using Windows Media Http Streaming Protocol?

From
"start" --> "server manager" --> "media server"
and open it, server name is on the left hand. Select property, go to protocol control, and enable HTTP.

Related

Capture the traffic generated by a browser using wireshark

How can I capture only the traffic generated by a web browser using Wireshark?
Use Microsoft Network Monitor, there you can just get the traffic from a browser or a program.
Link: https://www.microsoft.com/en-us/download/details.aspx?id=4865

how to monitor shared/network printers through windows service?

I can retrieve all printers(including network printers) using windows application and also able to monitor them. I am using Print Spooler API's for them. But, if I run same code in windows service, I am not able to retrieve the network printers. Because network/shared printer will only be visible if you log in as specific Windows account and service is always login as 'SYSTEM' account.
Can we monitor these network printers using service?
Yes, you need to set the Windows Service's login as a user that has permission to manage the print queues on the server or workstations you're trying to monitor.
Select the "This Account" option on the "Log On" tab in the Services Control Panel and specify an account that has the necessary permissions.

STUN/TURN/ICE implementation with Ejabberd server and XMPP client iOS

I am using ejabberd-16.04 on my mac and XMPPFramework from robbiehanson.
It works fine for chatting, no problem.
But now I want to add voice calling into my application.
I am using Jingle Protocol for call establishment and it works fine for direct communication (i.e. both caller and callee are in same network).
The problem I am facing is for cross-network and I want to implement Jingle ICE for this, NATed clients.
1 Can any one tell me how can I enable and use STUN/TURN module on ejabberd server and same thing at client side.
1.1 Iam also facing problems with urn:xmpp:extdisco:2 for external service discovery.
2 Is there any library for XMPP which implements Jingle-ICE for iOS?
The community version of ejabberd includes STUN and TURN.
https://docs.ejabberd.im/admin/guide/configuration/#stun-and-turn
You'll need to configure SRV records for both STUN and TURN in order for client discovery of STUN/TURN to work correctly.
http://wiki.xmpp.org/web/SRV_Records#STUN_SRV_records
The only significant limitation is that TURN Authentication does not work with SCRAM password storage.

Why ASP.NET MVC app can play music on its host only if AppPool identity is LocalSystem?

I've hacked up an ASP.NET MVC app which triggers audio playback on its host using WMPLib (COM lib for interactions with Windows Media Player). It works OK when I run it at IIS Express, but at real IIS I hear the music only if AppPool identity is set to LocalSystem. Why exactly is this happened?
As you stated, WMPLib is a service (more precisely, a component service). All service run under a local account. More informations can be found in the Component Services Management Console (comexp.msc).
As we see for this component service, only the interactive user can interact with. The network service will not be able to access it.

Communication between Windows service and applications in different user sessions

I have the following situation:
Windows Server environment with multiple user sessions.
Windows Service is listening on well known port.
Tray application in each user session which is started automatically.
Silverlight (SL) application is running in browser and communicating with Windows Service using sockets and predefined port.
My goal is the following: user interacts with SL application, SL application communicates to Windows service using sockets and afterward Windows service should communicate to proper tray application which located in the same user session like browser that initiate call.
Communication between Windows service and tray applications is planed to be done using named pipes.
Question: how to define/transfer names of named pipes to Windows service to establish right (windows service -> tray app in correct user session) connection?
I don't find exact solution for described problem. But it is possible to use custom protocol concept.
SL application generates custom protocol links and registered application handles such links in user session. Afterwards such application can establish two-way communication with Windows Service that is listening on well-known port.

Resources