Question
Done few things, still stuck ! pls help
Is this are right questions ?
1. Can we store our swf in FMS appfolder and call them in our web page
securely ?
2. Can we use "rtmp//********/sample.swf" uri in the embed code in html
page reside in another webserver ? (means we are storing swf in FMS only
not in webserver app folder)
3.If not possible the above steps, how to get a simple flv file get streamed in
html page ? (I got one flv inside FMS app folder, but when I call it on html
page using client side AS it not showing anything in the browser. But in
FMS console it shows one client is connected and in stream section it
showing the flv file get stored)
what I only wanted is my flash files should not get stored in client machine
or he/she could not be able to download the file
code to call flv from FMS, this was taken from this forum itself to testing purpose.
//create a netConnection object
var nc = new NetConnection();
//keep an eye on the status events, we need to know when we have
connected up
nc.onStatus = function(info) {
trace(info.code);
if (info.code == "NetConnection.Connect.Success") {
createStreamObject();
}
};
//this function is called once we have connected up to the server
function createStreamObject() {
//this is the netStream object that plays the video file
ns = new NetStream(nc);
ns.onStatus = function(obj:Object) {
trace(obj.code+":"+nc.uri);
};
//attach the video stream to the video object on the stage
vidObject.attachVideo(ns);
//play the video file that we put in the directory for the application
ns.play("video1");
}
//connect up
nc.connect("rtmp://192.168.0.17/videostreaming/myvideos");
//nc.connect(null);
trace log
NetConnection.Connect.Success
NetStream.Play.Reset:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Play.Start:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Play.Stop:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Buffer.Flush:rtmp://192.168.0.17/videostreaming/myvideos
when I click the play button it giving me this error message ?
1000: Unable to make connection to server or to find FLV on server
Please give me some help on this
1. Can we store our swf in FMS appfolder and call them in our web page
securely ?
2. Can we use "rtmp//********/sample.swf" uri in the embed code in html
page reside in another webserver ? (means we are storing swf in FMS only
not in webserver app folder)
3.If not possible the above steps, how to get a simple flv file get streamed in
html page ? (I got one flv inside FMS app folder, but when I call it on html
page using client side AS it not showing anything in the browser. But in
FMS console it shows one client is connected and in stream section it
showing the flv file get stored)
what I only wanted is my flash files should not get stored in client machine
or he/she could not be able to download the file
code to call flv from FMS, this was taken from this forum itself to testing purpose.
//create a netConnection object
var nc = new NetConnection();
//keep an eye on the status events, we need to know when we have
connected up
nc.onStatus = function(info) {
trace(info.code);
if (info.code == "NetConnection.Connect.Success") {
createStreamObject();
}
};
//this function is called once we have connected up to the server
function createStreamObject() {
//this is the netStream object that plays the video file
ns = new NetStream(nc);
ns.onStatus = function(obj:Object) {
trace(obj.code+":"+nc.uri);
};
//attach the video stream to the video object on the stage
vidObject.attachVideo(ns);
//play the video file that we put in the directory for the application
ns.play("video1");
}
//connect up
nc.connect("rtmp://192.168.0.17/videostreaming/myvideos");
//nc.connect(null);
trace log
NetConnection.Connect.Success
NetStream.Play.Reset:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Play.Start:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Play.Stop:rtmp://192.168.0.17/videostreaming/myvideos
NetStream.Buffer.Flush:rtmp://192.168.0.17/videostreaming/myvideos
when I click the play button it giving me this error message ?
1000: Unable to make connection to server or to find FLV on server
Please give me some help on this
