HTTP Streaming

All the issues related to streaming of recorded media.

HTTP Streaming

Postby swest51314 » Thu Jun 21, 2012 12:08 pm

Trying to do something that shouldnt be that hard. I have installed unreal media server. I am trying to stream MP4 files via HTTP. I have set up the virtual directory that holds the MP4 files. How do you set it up so you can browse to http://ipaddress/filename.mp4 and have the file play?
swest51314
 

Re: HTTP Streaming

Postby admin » Thu Jun 21, 2012 4:06 pm

For that you don't need any streaming server; you just need a web server.
If you are seeking a youtube-like functionality, you can find many player-webserver packages that do that; no streaming server is involved.

"HTTP streaming" via streaming server is rather confusing term and can mean: Apple Live HTTP Streaming; Microsoft Smooth Streaming;
Microsoft MS-WMSP streaming; Unreal UMS via HTTP streaming; RTSP-RTP via HTTP tunnel streaming; RTMPT Flash streaming.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: HTTP Streaming

Postby swest51314 » Thu Jun 21, 2012 5:18 pm

I wanted to find out how to set up unreal media server as a MP4 streaming server. I basically have a video player embedded on a web page that has HTML5/Flash player. I need unreal to serve that player with a file given a url to a mp4 file(s), to play in the video player. I see how to set up the virtual directory so my MP4 files show up in unreal, but not sure how to set it up so it will stream that file(s) given an http:// path, for example http://ipaddress/mp4 file
swest51314
 

Re: HTTP Streaming

Postby admin » Fri Jun 22, 2012 3:14 am

html5 video tag does not work with streaming server; it works with webserver only, via the link you want: http://ipaddress/mp4 file

Flash player - Yes - it gets video from streaming server via RTMP protocol (this is not HTTP-based protocol) or RTMPT protocol (Yes, this one is HTTP based)
Unreal Media Server supports both RTMP and RTMPT protocols so you can do it. You just need to provide an RTMP link to the player; look at our demo page; there are samples in the SDK package.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: HTTP Streaming

Postby swest51314 » Fri Jun 22, 2012 5:21 am

Looked at SDK, still not sure. Basically I have a live static server set up with the ip address of the server and id 5 set. Still cant play file(s) by connecting to rtmpt://ipaddress:port/file.mp4. Not sure how to set it up. If it is too difficult to post the process here, let me know, so I wont keep wasting my time on this server. Thanks
swest51314
 

Re: HTTP Streaming

Postby tommybcool » Sun Jun 24, 2012 11:07 am

From the SDK....works for me with Apache. Virtual folder mediaroot in example. Flashplayer folder from SDK in root of web server. Address - youripaddress/webpage.html (code below).

<html>
<head>
<title>Unreal Flash Player</title>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<script type="text/javascript" src="FlashPlayer/umsplayer.js" charset="utf-8"></script>
</head>
<body id="unload-trigger-element">

<!-- player container -->
<div id="player-container">
</div>

<script type="text/javascript">
embedPlayer('player-container', {
flashvars : {
'rtmp' : 'rtmp://youripaddress:5119/vod/mediaroot/file.mp4'
},
size : { width: 640, height: 480 },
playerStyle : 'quick'
});
</script>

</body>
</html>
tommybcool
 
Posts: 0
Joined: Wed Aug 26, 2009 12:00 pm

Re: HTTP Streaming

Postby JABadmin » Wed Aug 27, 2014 2:12 pm

Sorry to bring this old post back but I am having the same issue.
I've downloaded the Unreal Media Player and I can stream mp4 and all the others.

When I try the html code given above, it looks like it is going to start but then I get "Audio Codec not supported by Flash"
JABadmin
 
Posts: 0
Joined: Wed Aug 27, 2014 2:06 pm

Re: HTTP Streaming

Postby admin » Wed Aug 27, 2014 6:01 pm

Our rtmp Flash streaming supports mp3 and aac audio encodings only. If your content is encoded with a different audio codec, you will get that error message.
admin
Site Admin
 
Posts: 1039
Joined: Fri Aug 21, 2009 10:13 am

Re: HTTP Streaming

Postby JABadmin » Wed Aug 27, 2014 7:31 pm

Thanks for the quick response.
I was able to view other MP4 files successfully.

One last thing, hat same code runs fine on Windows 7 with IE10 and lower, Firefox and Safari but I get a white page with IE11.
Is there any fox for this?
JABadmin
 
Posts: 0
Joined: Wed Aug 27, 2014 2:06 pm

Re: HTTP Streaming

Postby JABadmin » Wed Aug 27, 2014 8:24 pm

Update...I updated Flash to the latest version and it is now working with IE11.
JABadmin
 
Posts: 0
Joined: Wed Aug 27, 2014 2:06 pm


Return to Streaming Files

Who is online

Users browsing this forum: No registered users and 1 guest

cron