6 Replies - 1734 Views - Last Post: 21 May 2013 - 06:51 PM

#1 mb2000inc  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 354
  • Joined: 10-November 09

Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 01:54 PM

I'm trying to get some information on what it would take to do some pseudo-streaming (progressive stream). I found a few .NET projects at codeplex, but I don't think they would do what I want them to do.

Any thoughts?
Anyone ever work with that kind of thing?
Anyone know where to find something like that?

Basically, I'm looking to host my own streaming media (audio and video) for my web sites, and still be mostly quick loading (without sacrificing quality and rendering my videos and audio on lower quality settings) the media.

I'm familiar with simple http streaming (just pointing to a file through a media player of sorts), but I want some semblance of speed (progressive stream, rtsp, rtmp, http, etc.).

Thoughts?

Is This A Good Question/Topic? 0
  • +

Replies To: Anyone ever create a .NET streaming media server?

#2 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2533
  • View blog
  • Posts: 4,633
  • Joined: 24-September 10

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 02:34 PM

I've done it using WCF Streaming, you feed a stream out from the WCF service on the server side, and the client receives it as a Stream object that can be used like any other Stream object.

WCF takes care of the rest of the stuff for me. It's pretty nice.
Was This Post Helpful? 1
  • +
  • -

#3 mb2000inc  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 354
  • Joined: 10-November 09

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 05:43 PM

View Postlordofduct, on 21 May 2013 - 05:34 PM, said:

I've done it using WCF Streaming, you feed a stream out from the WCF service on the server side, and the client receives it as a Stream object that can be used like any other Stream object.

WCF takes care of the rest of the stuff for me. It's pretty nice.


Now, does that work with all media file types, or just Windows media files?
Was This Post Helpful? 0
  • +
  • -

#4 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2533
  • View blog
  • Posts: 4,633
  • Joined: 24-September 10

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 06:07 PM

WCF binary streaming is just that, it's a binary stream. If it's data, it's data.

The format just needs to be a streamable video format (the data is linearly written in the stream from beginning to end). Most video formats are streamable. But I bet there is some weird ones out there that might put the video and audio data out of order.


Here is the MSDN article on it:
http://msdn.microsof...aspx#versioning



Note - I'm not implying this is the only way, or even the best way to accomplish streaming in .Net. It's just the way I accomplished it, and it's fairly easy, as you can just let .Net take care of all the protocols and connection standards nonsense. You just accomodate to the WCF standard, and hand it the data that you want transferred, stream or not.

This post has been edited by lordofduct: 21 May 2013 - 06:14 PM

Was This Post Helpful? 1
  • +
  • -

#5 mb2000inc  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 354
  • Joined: 10-November 09

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 06:16 PM

View Postlordofduct, on 21 May 2013 - 09:07 PM, said:

WCF binary streaming is just that, it's a binary stream. If it's data, it's data.

The format just needs to be a streamable video format (the data is linearly written in the stream from beginning to end). Most video formats are streamable. But I bet there is some weird ones out there that might put the video and audio data out of order.


Hmmmm.....
See, I want to be able to stream most formats MOV, MPG, H.264, OGV, etc.
The last two, I can do with simple HTTP, and direct link to video, but the others, need a little push.

I don't suppose you have, maybe, a link to some info on it?
Was This Post Helpful? 0
  • +
  • -

#6 lordofduct  Icon User is offline

  • I'm a cheeseburger
  • member icon


Reputation: 2533
  • View blog
  • Posts: 4,633
  • Joined: 24-September 10

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 06:18 PM

Before noticing your response, I had already edited my post with a little more.
Was This Post Helpful? 0
  • +
  • -

#7 mb2000inc  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 21
  • View blog
  • Posts: 354
  • Joined: 10-November 09

Re: Anyone ever create a .NET streaming media server?

Posted 21 May 2013 - 06:51 PM

Ah! Excellent. Thank you!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1