Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Embeding RTMP stream from WOWZA 2 via JWP 6.5


Hello everybody.

I would like to upgrade my JW player from 5.10 do 6.5 which I've downloaded yesterday from LongTail.

Since I want to embed RTMP stream from WOWZA 2, I cannot figure out how to use settings with new player.

Current setting which I'm using on player 5.10 are

var flashvars = {
'file' : 'camera3.stream',
'streamer' : 'rtmp://mydomain.com/live',
'skin' : '/jwplayer/skins/glow/glow.xml',
'image' : '/jwplayer/cover-image.jpg',
'stretching' : 'exactfit',
'autostart' : 'true',
'provider' : 'rtmp',
'mute' : 'false',
'controlbar': 'over',
'smoothing' : 'true'
};

var params = {
'allowfullscreen' : 'true',
'allowscriptaccess' : 'always'
};

var attributes = {
'id' : 'jwplayer',
'name' : 'jwplayer'
};

swfobject.embedSWF('/jwplayer/player.swf', 'camera-3', '640', '360', '9', 'false', flashvars, params, attributes);


Now I want to use it with JW player 6.5, and I found following instructions

jwplayer("myElement").setup({
file: "rtmp://example.com/application/mp4:myVideo.mp4",
image: "/assets/myVideo.jpg",
height: 360,
width: 640
});

but now I'm stuck here.... please help :)
Thanks!

16 Community Answers

Ethan Feldman

JW Player Support Agent  
-1 rated :

In JW6, there is just one long RTMP url. See here – http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

JW Player

User  
0 rated :

Ok, I understand that, but if my wowza url is
rtmp://mydomain.com/live
and my camera stream "camera3.stream"
how do I form the code?

If I use

jwplayer("myElement").setup({
file: "rtmp://mydomain.com/live:camera3.stream",
image: "/assets/myVideo.jpg",
height: 360,
width: 640
});

it doesn't work... it saids "could not connect to server"
?

btw, thanks for assistance.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see where you are running this ?

JW Player

User  
0 rated :

Ofcourse, you can view the source code on
http://www.subotica.com/uzivo/kamera-gradski-trg-korzo-centar.html
Tnx

Ethan Feldman

JW Player Support Agent  
0 rated :

This plays fine. I see a webcam.

JW Player

User  
0 rated :

Goran - can I ask what web cam you are using for this site?

Ethan Feldman

JW Player Support Agent  
0 rated :

Any webcam should work really.

JW Player

User  
0 rated :

yes but I like the quality of the one used by Goran

Ethan Feldman

JW Player Support Agent  
0 rated :

Oh, ok.

JW Player

User  
0 rated :

Ethan, this player currently works well on windows with flash, but does not work on android and ios operationg systems... I've tried newer version 6.5 and it works well, as I hoped, but only if I stream static multimedia (mp4, avi,...) and cannot make it work with wowza stream... that's why I asked for help...

Declan, we use two Sony SNC-CH140 HD cams (1.3mp)
on locations
http://www.subotica.com/uzivo/kamera-gradski-trg-korzo-centar.html
http://www.subotica.com/uzivo/kamera-gradska-kuca-plava-fontana.html
(8 frames per second / 0.5 mbits)

and Siemens CCMS2025 HD (2mp)
on location
http://www.subotica.com/uzivo/kamera-palic-setaliste-pored-jezera.html
(12 frames per second / 1 mbit)

we are streaming in h.264 format (both cameras) in medium quality

JW Player

User  
0 rated :

Thanks Goran

Ethan Feldman

JW Player Support Agent  
-1 rated :

@Goran – You are using 5.10 here, I would update.

JW Player

User  
0 rated :

Ethan, I think we are having elementary misunderstanding :-)

I'm using 5.10, and I would like to upgrade to 6.5, that's my primary issue. On 5.10, as we agree, is working well, but not total excellent because on android and iOS devices (without support of flash) is useless... that's why I've downloaded 6.5 which supports HTML5... but I cannot start wowza (2) stream trough this version of JW player... that's why I've asked for help. I've tried to use same settings on 6.5 as I use on 5.10 but it doesn't work.... F1 F1 F1 :)

Ethan Feldman

JW Player Support Agent  
-1 rated :

You are using 5.8 here. Can I see where you are running 6.5?

JW Player

User  
0 rated :

I'm using 5.10, and I WOULD LIKE TO USE current version 6.5, that's why I asked for official help from JW...

I've tried 6.5 on my local development server but I cannot set up the wowza stream on this version.

http://postimg.org/image/qgzmh9mw7/
(this is from live - http://www.subotica.com/uzivo/kamera-gradski-trg-korzo-centar.html)

Ethan Feldman

JW Player Support Agent  
-1 rated :

All you need to do for JW6 is have one direct url to the RTMP stream as a the file variable – http://www.longtailvideo.com/support/jw-player/28854/using-rtmp-streaming

This question has received the maximum number of answers.