[SOLVED] embedding flash to html pages for an rtmp stream
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On this link they explained you need to have file and avatar.flv is a file which I have to stream.
I have avatar.flv in my streams folder (where all the videos are kept to stream)
Also on following link http://www.longtailvideo.com/support...r-setup-wizard
there is a sample code generator.
I just gave the location of server on my lan in the second link above and it generated the script for me.
That player was able to play the flv on my Red5 installation on LAN.
You can also try if you do not have a installation of Red5 then on the second link for setup wizard they have given a dummy flv which is as an example and streams very well.
At the bottom you will get a code snippet that is what I had tried.
Well now here comes the problem the files http address how do I determine that.
It is being served because of a Red5 application known as oflaDemo.
Please see this link
very clear explanation of what I am doing.
And what is the error ? No flash showing, no page, simple error page ?
There is a black flash player embedded in the html page and there is a circle which keeps on rotating as if it were trying to connect to the rtmp at localhost
According to one of the links you gave, the Red5 server comes with example flv files. Have you tried one of those instead of yours ?
Also, what happens if you follow the instructions in the second comment on this page (by joshhrob).
According to one of the links you gave, the Red5 server comes with example flv files. Have you tried one of those instead of yours ?
Also, what happens if you follow the instructions in the second comment on this page (by joshhrob).
Yes I have tried the demo flv only.Infact I am trying that only.
And for the second comment I can see the desired flv.
The code on the first post of mine I have not kept it in Document Root of the webserver.
That was the only thing that was stopping things.
The website where I have to test all this is having heavy traffic so I could not disturb that web server I made a clone of entire setup and then this was the reason I had made all the html code in my home directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.