Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / August 2007

Tip: Looking for answers? Try searching our database.

WMS SDK + PHP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Haris Zukanović - 28 Aug 2007 15:35 GMT
I would like to access WMS API on my streaming server from a remote web
application written in PHP.

What is the best way?

TIA
Neil Smith [MVP Digital Media] - 28 Aug 2007 22:09 GMT
On Tue, 28 Aug 2007 16:35:03 +0200, Haris Zukanovi? <haris@ask.me>
wrote:

>I would like to access WMS API on my streaming server from a remote web
>application written in PHP. What is the best way?

Dunno, but I'l try to find out. What do you actually want to "access"
- or more importantly, what are you trying to do - and what did you
try so far ?

Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Haris Zukanovic' - 29 Aug 2007 12:39 GMT
Hi Neil,

I am trying to dynamicaly control a broadcast point by programmaticaly
adding to the wsx which is playing. Only in this way I do not need to
restart the publishing point to make changes

> On Tue, 28 Aug 2007 16:35:03 +0200, Haris Zukanovi? <haris@ask.me>
> wrote:
[quoted text clipped - 10 lines]
> Digital Media MVP : 2004-2007
> http://mvp.support.microsoft.com/mvpfaqs
Neil Smith [MVP Digital Media] - 29 Aug 2007 19:34 GMT
You should be able to use PHP's COM extensions to handle that (though
I've not tried so far). Do you have local access to the box, or over a
local network ? COM should work fine in that configuration.

Cheers - Neil

>Hi Neil,
>
[quoted text clipped - 16 lines]
>> Digital Media MVP : 2004-2007
>> http://mvp.support.microsoft.com/mvpfaqs
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Haris Zukanovic' - 30 Aug 2007 14:16 GMT
PHP is running on Linux, so I think that will be a problem with COM
extensions, am I right ?

> You should be able to use PHP's COM extensions to handle that (though
> I've not tried so far). Do you have local access to the box, or over a
[quoted text clipped - 25 lines]
> Digital Media MVP : 2004-2007
> http://mvp.support.microsoft.com/mvpfaqs
Neil Smith [MVP Digital Media] - 31 Aug 2007 00:00 GMT
Yes, you're right - you don't half make it difficult ;-)

You'll have to consider running Mono then, and some
interface/abstraction layer on the media server to communicate with
the .NET instance exposed by Mono (unless it can do that itself)

Cheers - Neil

>PHP is running on Linux, so I think that will be a problem with COM
>extensions, am I right ?
[quoted text clipped - 28 lines]
>> Digital Media MVP : 2004-2007
>> http://mvp.support.microsoft.com/mvpfaqs
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Haris Zukanovic' - 31 Aug 2007 10:05 GMT
COM extension works only on windows platform (seems), my web server is
on linux

> You should be able to use PHP's COM extensions to handle that (though
> I've not tried so far). Do you have local access to the box, or over a
[quoted text clipped - 25 lines]
> Digital Media MVP : 2004-2007
> http://mvp.support.microsoft.com/mvpfaqs
Neil Smith [MVP Digital Media] - 29 Aug 2007 22:17 GMT
Missed a bit : Here's some info on using DCOM to control WMS

http://groups.google.co.uk/group/microsoft.public.windowsmedia.server/browse_thr
ead/thread/b373b7ce4ba9c31c/c6ac72b45255f980?lnk=st&q=windows+media+services+DCO
M+scripting&rnum=1&hl=en#c6ac72b45255f980

http://groups.google.co.uk/group/microsoft.public.windowsmedia.server/browse_thr
ead/thread/56ca9be80bbc4a1e/b1b7ddc4061fce41?lnk=st&q=windows+media+services+DCO
M+scripting&rnum=2&hl=en#b1b7ddc4061fce41


I think I've seen a perl script to do something similar, but it'd be
hard to find now ;-) The author was Dave Roth, and it was an article
"Scripting Windows Media Services 101" which was subscription only

Cheers - Neil

>Hi Neil,
>
[quoted text clipped - 16 lines]
>> Digital Media MVP : 2004-2007
>> http://mvp.support.microsoft.com/mvpfaqs
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.