Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Broadcasting streaming media > Streaming servers
Register FAQ Members List Calendar Mark Forums Read

View Poll Results: What streaming server software you prefer to use for audio streams
Windows Media Services 2 66.67%
Icecast 1 33.33%
Shoutcast 0 0%
Other 0 0%
Voters: 3. You may not vote on this poll

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 11-15-2007, 02:23 PM
Froglips57 Froglips57 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 3
Froglips57 is on a distinguished road
Question

Windows 2003 Streaming Media Server question: RTSP/MMS protocol rollover and .WAX


Hello,

I have a couple of questions:

1. I'm running a Windows 2003 Streaming Media Server for some non-profits offering free audio teachings. I have a firewall on this server and I have mms protocol set up as UDP & TCP on port 1755, but I want to allow RTSP streaming as well.

Would I set up the rstp the same as the mms as far as port number etc. or would I set it up differently? I'm not at all comfortable with the protocols and best methods for offering them.

2. I want to use a .WAX file for protocol rollover for the hundreds of Windows Media .WMA files being served, but I do not want to make hundreds of .WAX files, one for each media file. Is there a better way to do this, or maybe some way to capture the file name and send it into the wax file as a var, so one wax could process all the files being streamed?

Thank you so much for the help,

~Jami
Reply With Quote
  #2  
Old 11-16-2007, 09:51 AM
Stream Recorder
 
Posts: n/a
Default

Window 2003 Server: Windows Media Services: Setting up RTSP protocol


Quote:
Originally Posted by Froglips57 View Post
I'm running a Windows 2003 Streaming Media Server for some non-profits offering free audio teachings. I have a firewall on this server and I have mms protocol set up as UDP & TCP on port 1755, but I want to allow RTSP streaming as well.

Would I set up the rstp the same as the mms as far as port number etc. or would I set it up differently?
HTTP, MMS and RTSP streaming media protocols usually use different port numbers:

HTTP protocol usually uses port 80 or 8080.
The default port for MMS is 1755.
The default port for RTSP is 554.
Reply With Quote
  #3  
Old 11-16-2007, 10:00 AM
Stream Recorder
 
Posts: n/a
Default

Dynamic .WAX, .ASX metafiles generated by PHP, ASP, ASP.NET, PERL,... web-script


Quote:
Originally Posted by Froglips57 View Post
I want to use a .WAX file for protocol rollover for the hundreds of Windows Media .WMA files being served, but I do not want to make hundreds of .WAX files, one for each media file. Is there a better way to do this, or maybe some way to capture the file name and send it into the wax file as a var, so one wax could process all the files being streamed?
You can use .WAX or .ASX metafiles with Windows Media .WMA audio files. Metafiles can be generated dynamically by a web-script. You can use any programming language you're familiar with, for example: PHP, ASP, ASP.NET, PERL,... web-script.

Please note that when the .WAX, or .ASX MIME types are not set up, the text contents of the metafile might be displayed in the user's browser instead of being opened in Windows Media Player.

sample: asx_output.asp ( http: //somehost/somedir/asxOutput.asp )
Code:
<%Response.ContentType = "video/x-ms-wma"%><%Response.expires=0 %>
<ASX VERSION="3.0">
    <TITLE>Your title here</TITLE>
    <ENTRY>
        <REF HREF ="mms://somehost/somedir/filename.wma" /> 
    </ENTRY>
</ASX>
sample: asxOutput.php ( http: //somehost/somedir/asxOutput.php?channel=rock )
Code:
<?
print "Content-Type: video/x-ms-asf"."\n\n";

//Use the channel variable to generate $video_url
//  $video_url = "mms://somehost/somedir/".$channel.".asf";
//
?>
<ASX VERSION="3.0">
<ENTRY>
<REF HREF="<? echo $video_url; ?>" / >
</ENTRY>
</ASX>
asxOutput.php (http: //somehost/somedir/asxOutput.php?channel=rock)
Code:
<?php 

header("Cache-control: public"); 
header("Content-Disposition: filename=playlist.asx"); 
header("Content-Type: video/x-ms-asf;"); // setting up MIME type

$channel= $_GET["channel"]; 

function GetStream 
{ 
//your function that will get the path to your stream from a database or by whatever other mean
//example: // return "mms://somehost/somedir/" .$channel.".asf"; //filter $channel variable before using to avoid vulnerabilities
} 

echo "<asx version = \"3.0\">\n"; 
echo "<TITLE>". $channel . "</TITLE>"; //make sure to filter $channel variable

echo "<ENTRY>\n"; 
echo "<REF HREF = \"". GetStream . "\" />\n"; 
echo "</ENTRY>\n"; 

echo "</asx>\n"; 

?>
Reply With Quote
  #4  
Old 11-16-2007, 10:22 AM
Stream Recorder
 
Posts: n/a
Default

Re: Windows 2003 Streaming Media Server question: RTSP/MMS protocol rollover and .WAX


Freeware Icecast streaming server software might be better. You can use it on a cheaper *nix hosting.

If you're not familiar with web development, you can always find a professional freelancer to do the job. Just make sure he can provide a secure and reliable solution.
Reply With Quote
  #5  
Old 11-16-2007, 07:23 PM
Froglips57 Froglips57 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 3
Froglips57 is on a distinguished road
Default

Re: Windows 2003 Streaming Media Server question: RTSP/MMS protocol rollover and .WAX


Thank you Stream Recorder!

That gives me the info I need.

And thanks for the tip about Icecast, when I started streaming I didn't know what to use, or how to use it... Thanks for your help.

Jami
Reply With Quote
  #6  
Old 11-17-2007, 12:15 AM
Stream Recorder
 
Posts: n/a
Default

Broadcasting audio streams: Windows Media Services vs. Icecast


Quote:
Originally Posted by Froglips57 View Post
And thanks for the tip about Icecast, when I started streaming I didn't know what to use, or how to use it... Thanks for your help.
You're welcome! I'm glad if I can provide some help here.

WINDOW MEDIA SERVICES is GREAT at streaming content, especially video streams. It just might NOT WORTH the money one have to pay for it.

And you can always COMPARE. Icecast can be installed even on your Windows PC or you can have it on a Linux. Many radio stations use it to broadcast MP3 and AAC audio files, so it is a good choice.

Just test it and make your own opinion. It would be nice if you can post compare them here. Even if you are not a computer geek, your REVIEW will be very useful 'coz it will allow to choose an easy to use and/or a cheap solution.
Reply With Quote
  #7  
Old 11-28-2007, 04:25 PM
Froglips57 Froglips57 is offline
Junior Member
 
Join Date: Nov 2007
Posts: 3
Froglips57 is on a distinguished road
Default

Re: Windows 2003 Streaming Media Server question: RTSP/MMS protocol rollover and .WAX


A couple of things that might help others finding this tread....

For our application we are saving hundreds a month by running our own streaming server over paying a service to host our media for us.

I chose Windows 2003 streaming media server because it wasn't much more to 'rent' a dedicated server 'account' with this OS than it was for Linux. And at the time I found more step-by-step instructions for streaming using Windows 2003 than I did with the other options out there. Windows 2003 Media Services has been around for a long time and there is a lot of documentation.

My learning curve was huge since I had to learn running a server plus streaming and security all at the same time - Oy! The streaming software came free and set to go on Windows 2003 so it was a short cut from my perspective. Although I hate Windows, I hate not finding the answers I need and being stuck much more....
--------------------------------------------------

In addition to the firewall port info for the RTSP protocol, on Windows 2003 you have to enable the Control Protocol Plug-in for each protocol you want to use. You do this from the properties window for the server. Step by Step instructions can be found in the Media Help file on the OS.
--------------------------------------------------

My next move - will be to run my own box and then I will want a cheaper option for OS than Windows that's for sure. I would never buy Windows 2003 for my own box.

Last edited by Froglips57 : 11-28-2007 at 04:48 PM. Reason: addition
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 05:57 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons