Hi everyone, I have successfully installed red5 and configured it to the best of my ability.
I am able to connect to the server remotely with no problem and record videos without any issues.
I'm scratching my head on two things:
1) When I use the publisher on my local network, I can set it to flash and stream to jwplayer embedded on a webpage; but when I access the publisher app remotely, connect to the server, and try to stream to the jwplayer it will not show on the jwplayer. Any ideas?
jwplayer gives error: server not found: rtmpt:localhost:80/oflaDemo
What I did (remotely):
went to <domain Name>:5080/demos/publisher.html
connected to server rtmp://<domain Name>/oflaDemo
connection success
location set to rtmp://<domain name>/oflaDemo
file name: stream
I set up the video and audio, and I was able to record the stream with no issue, and then I saw the recorded video in the oflaDemo page (although video isn't playing don't know why)
jwplayer embed code was set to:
</div><script type="text/javascript">
var flashvars = {
file:'stream',
streamer:'rtmp://localhost/oflaDemo',
image:'islamwallpaper.jpg',
bufferlength:'2',
backcolor:'#000000',
frontcolor:'#166EBA',
screencolor:'#999999',
lightcolor:'#990000',
autostart:'true',
repeat:'none',
stretching:'',
playlist:'bottom',
playlistsize:'160',
};
var params = { allowfullscreen:'true', allowscriptaccess:'always', wmode:'transparent' };
var attributes = { id:'player1', name:'player1' };
swfobject.embedSWF('player.swf','player','100%','800','9.0.0','true',flashvars, params, attributes);
</script>
and 2) I've been using VLC to stream a playlist of videos to a plugin on a webpage, and from what I understand, VLC and Red5 aren't able to work together because vlc doesnt have rtmp (yet) Is there anyway to stream prerecorded videos in a live broadcast to be shown on the jwplayer embedded on webpage? I was thinking: VLC stream ing-> Xuggler(haven't installed yet)->red5 server->jwplayer
I appreciate any help. BTW I'm on linux ubuntu.