Click here to Skip to main content
15,901,373 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionWeb Service for Playing Media Player Pin
lynn10077-Apr-09 22:40
lynn10077-Apr-09 22:40 
AnswerRe: Web Service for Playing Media Player Pin
Dave Kreskowiak8-Apr-09 7:42
mveDave Kreskowiak8-Apr-09 7:42 
GeneralRe: Web Service for Playing Media Player Pin
lynn10078-Apr-09 15:15
lynn10078-Apr-09 15:15 
GeneralRe: Web Service for Playing Media Player Pin
Dave Kreskowiak8-Apr-09 17:40
mveDave Kreskowiak8-Apr-09 17:40 
GeneralRe: Web Service for Playing Media Player Pin
lynn10078-Apr-09 18:42
lynn10078-Apr-09 18:42 
GeneralRe: Web Service for Playing Media Player Pin
Dave Kreskowiak9-Apr-09 4:08
mveDave Kreskowiak9-Apr-09 4:08 
GeneralRe: Web Service for Playing Media Player Pin
lynn10079-Apr-09 16:17
lynn10079-Apr-09 16:17 
GeneralRe: Web Service for Playing Media Player Pin
dojohansen9-Apr-09 4:30
dojohansen9-Apr-09 4:30 
It's not the fact that it's a web service that means you cannot do it this way - at least not that alone. Consider the arcitechture of *any* client-server system and you will see (I hope) why it cannot work.

There is a server computer and a client computer. Programs are running in both places, and they have different roles. The client is a program that sends messages we call "requests" to the server program, and the server is a program that accepts such requests and sends a message back called a "response". In other words, from the client's point of view a server cannot provide anything but these messages.

In principle, it would be possible to have a server that responded to a message by sending both *data* and *code* to the client. The code could be precompiled, or it could be text that the client compiles when it receives it. But obviously such a solution would be problematic. It would be potentially very dangerous, unless the client can have absolutely total confidence that it's not possible for anyone to intercept the communication and send evil messages full of virus code.

So basically if you succeeded in running the media player in your service it wouldn't result in anything playing at the client. The usual way of doing this is instead to run the media player on the client side, usually embedded in a web page, and just send video data from the server.

You can google for articles about how to do this, but to be honest I think you should take some time to do simpler stuff first to get a good grasp of the basics as video streaming is a fairly advanced concept.
GeneralRe: Web Service for Playing Media Player Pin
lynn10079-Apr-09 16:34
lynn10079-Apr-09 16:34 
QuestionFaulting applicationon windows 2k3 server Pin
Vikas Salvi7-Apr-09 22:38
Vikas Salvi7-Apr-09 22:38 
QuestionBookMarks in webbrowser Pin
britishcolumbia7-Apr-09 18:35
britishcolumbia7-Apr-09 18:35 
AnswerRe: BookMarks in webbrowser Pin
Dave Kreskowiak8-Apr-09 1:28
mveDave Kreskowiak8-Apr-09 1:28 
GeneralRe: BookMarks in webbrowser Pin
britishcolumbia8-Apr-09 13:03
britishcolumbia8-Apr-09 13:03 
GeneralRe: BookMarks in webbrowser Pin
Luc Pattyn8-Apr-09 13:18
sitebuilderLuc Pattyn8-Apr-09 13:18 
GeneralRe: BookMarks in webbrowser Pin
britishcolumbia8-Apr-09 16:57
britishcolumbia8-Apr-09 16:57 
GeneralRe: BookMarks in webbrowser Pin
dojohansen9-Apr-09 4:48
dojohansen9-Apr-09 4:48 
GeneralRe: BookMarks in webbrowser Pin
Dave Kreskowiak8-Apr-09 13:29
mveDave Kreskowiak8-Apr-09 13:29 
QuestionCommand prompt from windows application... Pin
RA|-|UL PATEL6-Apr-09 20:35
RA|-|UL PATEL6-Apr-09 20:35 
AnswerRe: Command prompt from windows application... Pin
Alan N6-Apr-09 23:36
Alan N6-Apr-09 23:36 
AnswerRe: Command prompt from windows application... Pin
i gr814-Apr-09 2:32
i gr814-Apr-09 2:32 
QuestionCannot run exe if path exceeds 128 characters Pin
msmits6-Apr-09 20:34
msmits6-Apr-09 20:34 
AnswerRe: Cannot run exe if path exceeds 128 characters Pin
Dave Kreskowiak7-Apr-09 4:07
mveDave Kreskowiak7-Apr-09 4:07 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
msmits7-Apr-09 19:22
msmits7-Apr-09 19:22 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
msmits7-Apr-09 19:23
msmits7-Apr-09 19:23 
GeneralRe: Cannot run exe if path exceeds 128 characters Pin
Dave Kreskowiak8-Apr-09 1:23
mveDave Kreskowiak8-Apr-09 1:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.