problem with RTM path

More
12 years 5 months ago #3489 by ricopoulos
Hi,

I have a file hosted by flvnetwork and they only provide me a path like :

rtmp://rtmp.flvnetwork.com/vod/lharley/media/4ecfef8d-a758-461e-b66b-1fbf108c4511.flv

I've tried many way to enter it in the "single file" & "streamer" field without success ....

Can you help me ?

Thanks

Eric

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #3491 by admin
Replied by admin on topic Re: problem with RTM path
hello ,

file --> 4ecfef8d-a758-461e-b66b-1fbf108c4511.flv

streamer --> rtmp://rtmp.flvnetwork.com/vod/lharley/media

did the stream is valid right now ?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #3492 by ricopoulos
Hi,

Thanks for your fast answer !

Unfortunately it doesn't work :( and yes the stream is valid right now.

It's working when I use their default embeded player with this code :
Code:
<object width="500" height="380" data="http://flvnetwork.com/assets/YTPlayer.swf" type="application/x-shockwave-flash"> <param name="movie" value="http://flvnetwork.com/assets/YTPlayer.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="autostart=true&amp;frontcolor=blue&amp;backcolor=black&amp;file=http%3A%2F%2Fflvnetwork.com%2Fvod%2Flharley%2Fmedia%2F4ecfef8a-4678-495e-b18c-1fbf108c4511.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Flharley%2Fmedia%2F4ecfef8d-a758-461e-b66b-1fbf108c4511.jpg" /> </object>

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #3494 by admin
Replied by admin on topic Re: problem with RTM path
The example you give is a http link not rtmp :
Code:
http://flvnetwork.com/vod/lharley/media/4ecfef8a-4678-495e-b18c-1fbf108c4511.flv

it will work if put this link in the "single file" field and remove the "streamer" field but i's not rtmp

did you rtmp server have restriction domain ?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #3496 by ricopoulos
Sorry I've tried so many code :(

this is the RMTP one :
Code:
<object width="500" height="380"><param name="movie" value="http://flvnetwork.com/assets/YTPlayer.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="flashvars" value="autostart=true&amp;frontcolor=blue&amp;backcolor=black&amp;streamer=rtmp%3A%2F%2Frtmp.flvnetwork.com%2Fvod&amp;file=lharley%2Fmedia%2F4ecfef8a-4678-495e-b18c-1fbf108c4511.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Flharley%2Fmedia%2F4ecfef8d-a758-461e-b66b-1fbf108c4511.jpg"></param><embed src="http://flvnetwork.com/assets/YTPlayer.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="380" flashvars="autostart=true&amp;frontcolor=blue&amp;backcolor=black&amp;streamer=rtmp%3A%2F%2Frtmp.flvnetwork.com%2Fvod&amp;file=lharley%2Fmedia%2F4ecfef8a-4678-495e-b18c-1fbf108c4511.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Flharley%2Fmedia%2F4ecfef8d-a758-461e-b66b-1fbf108c4511.jpg"></embed></object>

BTW the http link work well, what is the main differences ? if its the same think I'll keep this one witch is working.

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #3499 by admin
Replied by admin on topic Re: problem with RTM path
1 - the rtmp link is more secure (more difficult to copy your content), and also allow seeking inside the content, read this to understand how works the different technology :

www.longtailvideo.com/support/blog/19578...t-is-video-streaming

2 - ok the second code you give is better, so here the setting :


file -->

lharley/media/4ecfef8a-4678-495e-b18c-1fbf108c4511.flv

streamer -->

rtmp://rtmp.flvnetwork.com/vod

you can see it action here :

developer.longtailvideo.com/trac/testing...height=260&width=500

Please Log in or Create an account to join the conversation.

Time to create page: 0.220 seconds

Download

Purchase
Download Directory

Login Form