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

VB.net Embding a rtmp stream


Hello,

I am trying to embed an online stream for a channel into my vb.net program. I am having a hard time implementing the stream into my project.

Looking at the stream source:
bc.. <embed type="application/x-shockwave-flash" src="live.ctvchannel.tv_files/player.swf" style="" id="mpl" name="mpl" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" flashvars="backcolor=111111&frontcolor=CCCCCC&lightcolor=66CC00&autostart=true&skin=http://manage.streamcyclone.com/skins/beelden/beelden/beelden.xml&streamer=rtmp://sc-lb1.streamcyclone.com/ctvch_live&file=ctvch&plugins=http://manage.streamcyclone.com/plugins/qualitymonitor,gapro-1&abouttext=StreamCyclone Player&aboutlink=http://www.streamcyclone.com/&gapro.accountid=UA-679067-4&gapro.trackpercentage=true&gapro.tracktime=true" width="720" height="420"></div>



I want to use jw player, but I am not sure, how to make play this stream. any help or hints would be appreciated.

24 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Here is some information – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

JW Player

User  
0 rated :

Thanks Ethan, I will read through this and see if I can figure it out.

JW Player

User  
0 rated :

I couldn't find a single example on how to play the RTMP file in vb.net! I looked online, but I couldn't find any. I read tons of good reviews about jw player, and I really like using it in my projects.

Ethan Feldman

JW Player Support Agent  
0 rated :

We don’t have any examples specific to vb.net I’m afraid.

JW Player

User  
0 rated :

Hello Ethan,

I tried to play with the player.swf in my vb.net project. Here's how I am trying to do it:

I have Shockwave flash Object, and I am passing the following to it:

bc.. Dim swftoload As String
swftoload = "C:player.swf?file=rtmp://sc-e1.streamcyclone.com:1935/ctvch_live/ctvch&autostart=true"

AxShockwaveFlash1.LoadMovie(0, swftoload)



When I tried that I got this error: "Task Queue failed at step 5: Playlist could not be loaded: Error# 2032"

I think I am close to getting it to work, at least I am receiving an error, before it was not even responding!

Ethan Feldman

JW Player Support Agent  
0 rated :

You can’t link to an rtmp path as the file variable.

More information – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12535/video-delivery-rtmp-streaming

JW Player

User  
0 rated :

Thanks Ethan for your reply. Those example are not for vb.net, so I am trying to play with options.
I tried:
bc.. swftoload = "C:player.swf?streamer=rtmp://sc-e1.streamcyclone.com:1935/ctvch_live/ctvch&autostart=true"

it just gives me the player screen, but doesn't play or do anything!

Tried:
bc.. swftoload = "C:player.swf?streamer=rtmp://sc-e1.streamcyclone.com:1935/ctvch_live&file=ctvch&autostart=true"

It looks like it's loading something, but never starts!


Ethan Feldman

JW Player Support Agent  
0 rated :

Something like C:player.swf?streamer=rtmp://sc-e1.streamcyclone.com:1935/ctvch_live&file=ctvch&autostart=true should work but I need to see a link…

JW Player

User  
0 rated :

The original link is: http://live.ctvchannel.tv
I feel like I am pretty close to get it working!

JW Player

User  
0 rated :

I got it to work, using their player.swf not jwplayer.swf. Thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Cool, glad you got it, np.

JW Player

User  
0 rated :

i useing but not work here its link
http://live.irib.ir/playerf264.htm

Dim swftoload As String
swftoload = "http://live.irib.ir/player.swf?streamer=rtmp://tv2.irib-live.hypercdn.com/live-795096664/&file=live-795096664&autostart=true"

AxShockwaveFlash1.LoadMovie(0, swftoload)

JW Player

User  
0 rated :

bc.. Dim swftoload As String
swftoload = "http://live.irib.ir/player.swf?streamer=rtmp://tv2.irib-live.hypercdn.com/live-795096664/&file=live-795096664&autostart=true"

AxShockwaveFlash1.LoadMovie(0, swftoload)

Ethan Feldman

JW Player Support Agent  
0 rated :

what is swftoload?

JW Player

User  
0 rated :

its solved !

JW Player

User  
0 rated :

longtail i have a problem when video is running the
flash.stop(); or /stopplay();
will not stop playing video ?
why ?

Ethan Feldman

JW Player Support Agent  
0 rated :

Good, glad you got it.

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12540/javascript-api-reference

It is just jwplayer.stop();

JW Player

User  
0 rated :

man i useing c#
how to define it ?

JW Player

User  
0 rated :

longtail , what if a online tv have more than 1 files ,
tv has lots of files and it changes many times ,
how to know hwat is the correct link then ?

Ethan Feldman

JW Player Support Agent  
0 rated :

No idea about c#, we have not used it before.

If you need to support multiple files, the best way to do this is with a playlist – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/24/creating-a-playlist

JW Player

User  
0 rated :

i cant find correct link of this video , do you have any idea what is the correct link i found this but not work


http://www.alhurra.com/AkamaiFlashPlayer.swf?streamer=rtmp://209.170.115.15/live?_fcs_vhost=cp51007.live.edgefcs.net/Alhurra_Flash@15&file=AlhurraLive2&autostart=true"


'movie','AlhurraLive2

Ethan Feldman

JW Player Support Agent  
0 rated :

This link is not even our player.

JW Player

User  
0 rated :

dude what if the stream link is broke
if flashplay.linkbroke ? then label1.text= " link is broken "
end if
how to do that ?

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t understand the question and what does this have to do with the JW Player?

This question has received the maximum number of answers.