{server-ip} is the ip of the built-in Apache server on my Mac.
Looks just like yours as far as i can tell.
I imagine then that the problem has to do with the relative location of the JW player files / Wowza Files. Can you tell me how this should be set up or what the problem might be.
Further down the road i’m aiming to stream a playlist from the wowza server to the JW player. Can you recommend a playlist format and give me a clue as to how I should include it and the flahsvars of each track?
Alas, neither of your suggestions worked. I still see endless loading.
Any other ideas? I can’t be the only one. Unless it has to do with my Mac server or the way i have placed my files.
I’m sure it’s a glaring error that i’m overlooking in frustration.
Do i need to create an applicaton called simplevideostreaming in the applications folder? because it’s only in examples for me. I thought that would suffice.
Would it work with a fresh differently-named application or is simplevideostreaming pre-configured in some way to work?
I don’t understand what happened at that point because the player didn’t load and all i saw was a black screen the size of the player with a no-play sign in the middle. I tried adding provider=rtmp to the embed flashvars… didn’t work, then i tried adding jwplayer:providerrtmp</jwplayer:provider> to the playlist, didn’t work either.
Reverting to my xspf i got the player to reappear, unfortunately the files won’t load. However, when i write gibberish.xspf it tells me the stream is not found. When i write gibberish.xml it gives me black screen and no-play sign.
Does that mean there’s a problem with the xml file extension?
thanks but I already had namespace in the header as per your code, and the player size is not so much the issue as the fact that it is not loading. I know that it recognizes the playlist though because when i type a gibberish name it tells me that it cannot find it.
therefore i assume the problem is in the playlist markup. Still don’t understand why it has a problem with .xml file extension though.
i don’t understand why it’s so difficult:
include playlist file instead of media file in flashvar
add provider=rtmp
add playlist=bottom / size
then markup playlist xml as usual with streamer and and url info
Alright so i spent a few days chatting with Ethan over at long tail video, and we finally agreed on the player and playlist code.
However, despite agreeing that the code was correct, my player still doesn’t work.
That’s why i’m convinced that it’s a filepath problem.
hopefully we can get to the bottom of this:
I have a wowza folder installed at the root of the apache server on my Mac. It is a shortcut folder because the Wowza folder actually lives at Library/wowzamediaserver (this is strange because when i go into my library folder i don’t see this wowza folder anywhere). Anyway, my playlist lives in the WowzaMediaServer/content folder and it points to mp3s that live in
I saw that tutorial and tried it all day but it just doesn’t seem to work that’s why I decided to contact you because maybe you do have a working code example, or maybe you get more questions about this specific problem.
Also I found a page from a developer at jetstream where it also isn’t working.
Also the example on the tutorial page isn’t working either. When you click the RTMP streaming (dynamic) This time with a Wowza2 Server, it gives a Stream not found: blalbla.mp4
If i get it right continuous checking of the bandwidth only works with FMS at the moment? And with Wowza the checks are performed when seeking and resizing?
This is the XML file i’m using and got it to work.
If i get it right continuous checking of the bandwidth only works with FMS at the moment? And with Wowza the checks are performed when seeking and resizing?
Update:
Also fixed this. Was a problem with JW player. Using latest trunk version 5.2.919 and switching goes totally smooth now without having to click.
You can edit our player using Adobe Flash CS3/CS4.
Hey Charlie. Thanks for the idea. After failing to get JWPLayer to compile in ANYTHING (Flash CS4, Ant/Flex SDK, Flash Builder!!) I reverted to editing your nativertp.fla to fit my purposes.
Couple of issues:
It looks like nativertp.fla is slightly scaling the video. It’s just a bit off causing nasty jaggy edges in the video. Fullscreen mode looks perfectly crisp and smooth.
I am using some ghetto code to place an image over the blank video screen while the video buffers (approx 8 seconds). I tried using a timer to remove the picture overlay, but sometimes it buffers for 8 seconds, some times for 15, so there was no good way to time it. So, I put “OnMetaData then remove the overlay”, but sometimes it gets metadata before the stream is finished buffering, so that’s not that great of an option either.
Things I’ve done to your player:
Set the video stage to exactly 640x480 with x/y of 0,0
Fixed some code where it was trying to center the video on the screen or force some weird x/y co-ords.
Hardcoded the server params
Setup the autostart command.
The code:
var loader:Loader = new Loader();
loader.load(new URLRequest("http://my.webcam.info/camera.jpg"));
addChild(loader);
loads the jpeg video overlay, and this code removes it:
I am hoping that there is a better thing then onMetaData, something like “onBufferComplete” or “onFirstFramePlay” or something. I looked, couldn’t find it
VLC output feed capture (notice how clear the date/time stamp is, how smooth the double yellow lines are in the middle of the road, etc):
nativertp output (notice the right side of the M in Mar):
My main hope is that I can fix the slight video scaling problem. I thought it had to do with the approx 2pixel black border on the flash movie, but I tried enlarging the video scene by 2 pixels and 4 pixels and reducing by the same but the video still looked jaggy.
When I look at the output video stream in vlc player it looks very pretty.
I wonder how to configure the JW player to automatically start a live stream when I start to stream to the wowza server?
If setting the player to autostart and the stream is there, it will start playing with no problems. But if i stop the stream, and then restart it, i would like the player to automatically start the stream again. Is this possible? Not to have to click the play button again?
I have created a playlist, but maybe that is not what is supposed to be used?
also when i dont send a stream, it does present the image that i have, but if the stream isnt present when you first load the webpage, it types “stream not found: live.sdp” and i would prefer if it just showed the picture and not the “error”
im posting my config here (running on an EC2 account om amazon)
index.html file:
This text will be replaced
and playlist.xml:
<?xml version="1.0" encoding="UTF-8"?>
Example XSPF playlist for the JW Player