Media Server :: FLVPlayback To FMS OnConnect() Custom Parameters
Sep 16, 2010
FLVPlayback custom params
How do I pass custom parameters to FMS using a FLVPlayback just likeI can with NetConnection.onConnect()? e.g. Normally I pass custom params to FMS like this:netConnection.connect("rtmp://mydomain.com...", param1, param2, ... .etc); How do I pass param1... etc. to FMS if I'm using an FLVPlayback component?
View 2 Replies
Similar Posts:
Sep 30, 2009
The documentation on parameters for application.onConnect() is below. It can take a Client "object" but is ambiguous about the optional parameters (strings vs objects). I'm guessing just strings?
I have a user value object with a few pieces of info in it that I pass around client side and would like the server to add it to its list of users (usersSO). I'm guessing I'll have to send it up in pieces and recreate it somehow on the server?
ParametersclientObjA Client object. This object contains information about the client that is connecting to the application.p1 ..., pNOptional parameters passed to the application.onConnect() handler from the client-side NetConnection.connect()
View 5 Replies
Sep 30, 2009
Basically trying to update a "userlist" shared object everytime someone connects.Administration console live log reads:"Sending error message: ...main.asc: line 12: TypeError: this.usersSO has no properties"
I'm connected ok. Here's the server code Doesn't like "usersSO.setProperty()" call:
application.onAppStart = function(){ this.uniqueID=1; this.users = new Object(); this.usersSo = SharedObject.get("userlist", false); }
[code].....
View 2 Replies
Jan 13, 2010
I'm trying to troubleshoot a Flash Media Server working with a little video playback application I wrote a few years ago that has suddenly stopped working.I'm using CS3/Actionscript 3.My app uses the FLVPlayback Component, and was working well last time I checked. I recevied a report that the videos stopped working, and have been looking into it.I figured I'd add a bunch of event listeners to the FLVPlayback's ncMgr.netConnection so I could get debug info on things like io errors, net status, etc.The problem I'm running into is that the netConnection is null when I set it to anything on my Flash Media Server, and adding any event listeners to this netConnection throws errors.Here's what I've tried so far:
Playback of a local FLV file works fine.In the FLVPlayback documentation, I found an example and stole the URL of the stream they were using in the example, and that works fine, although it is an HTTP protocol stream rather than RTMP.Any attempt to access FLV files on my Media Server, which has worked fine in the past, basically cause the FLVPlayback object to sit and hang in "buffering" mode and never progresses beyond this point.The netConnection object in this case is null.Here's my code:[code]........
Again the purpose of this is to troubleshoot the video streaming from the Flash Media Server, and it seems like there is no netconnection to the server being created.Does this mean that the server is not working, or is there a problem with the way I'm trying to access the content on the server?This was all working fine before, and I have set up the server-side application .ASC files and such to allow things to work fine on the server end.
View 6 Replies
Apr 23, 2009
I'm creating an application in Flex that needs to use the DVR capabilities of FMS 3.5, ideally I would like to do this using the FLVPlayback 2.5 component, however I'm struggling to find any tutorials or info on this, I was wondering is someone could point me to one.
I heard that I need the DVRCast application to do this, but this hasn't been released yet, I was wondering if I could get a rough idea of when this is going to be released?
View 5 Replies
Aug 17, 2009
I'm using Flash CS3 Pro. I want to play over 5h FLV video by FLVPlayback. but 4h video -> no problem. 5h video -> seekbar and total time view have BUG. duration : 21117.796totalTime : 4340.615 why return different value??? FLVPlayback have limit of flv??
View 1 Replies
Oct 26, 2009
Our QA department ran into an issue when testing dynamic streaming with multple encodings in the FLV format that results in a stream cannot be found exception thrown by the FLVPlayback component. An interesting note is that dynamic streaming works when we use F4V files. At first I thought perhaps this was a limitation with Flash, but when I traced the code inside the FLVPlayback component I realized that the video delivery using NetStream should be supported by the Flash video player. So I'm a little confused why this error is happening. We're using the SMIL playlist format to supply the FLVComponent with the videos. I've also tested each video with a direct RTMP connection and they playback fine, so there doesn't appear to be anything wrong with the server or the files.
[Code]...
View 2 Replies
Jul 28, 2010
i m using flvPlyback in player in two websites but in one of the sites its not working properly, while in the other its working fine. it shows black screen there
View 1 Replies
May 27, 2009
I have a couple of lessons that I have created in Flash CS3 for Flash Player 9 with AS3.In the main timeline of the lessons I have an flvplayback component setup to connect to our instance of Akamai's flash ondemand application to stream down several videos.
I have a customer who is behind a client side proxy server that is having an issue where the first 10-15 seconds of the any video plays then the video drops out and it appears that the flash player attempts to make a connection on another port which causes multiple audio streams to play but the video never comes back.From the network sniffer read out that their IT send me it appears that the flash player initially attempts to get out on port 80 then attempts port 1935 then attempts 443. if there is anyway to stop the flvplayback component from attempting multiple connections?
I created a stripped out application that just has a flvplayback component in it and when the end user opens that one it streams the video fine. I can only assume that my lessons which are using scorm and webservices to make database updates are reaching some bandwidth limit that the end users proxy doesn't like.
View 1 Replies
Nov 30, 2010
[URL]
I followed the above example in AS2,but only get the error:
Call to a possibly undefined method getNetConnection through a reference with static type fl.video:INCManager.Here's my code: this.addEventListener(Event.ENTER_FRAME,
[Code].....
View 5 Replies
Mar 24, 2011
I have FMS 4 and using AS3, no matter what I do I can't get any of my recorded FLVs to play in FLVPlayback.
Is there somethign I'm supposed to install on FMS to get it to play properly?
WHat should my path be? I've been told that the flv are living in the fms/applications/storyvideos/streams/videos folder.
I've tried every combination of paths I can think of.
View 2 Replies
Apr 12, 2010
I could contact about building a custom live Flash media encoder for our website. We have a database for authentication and a list of upcoming events with stream information (FMS URL and Stream Name) that we want to automate into an encoder. Currently we have our customers use Flash Media Live Encoder and copy/paste the values into the encoder, but would prefer a solution that is more tightly integrated with our site
View 4 Replies
Feb 18, 2010
I've spent the past 2 days scouring Google and dozens (easily over 100) websites trying to find an answer to something that people do every day! I am absolutely shocked that this info is not available anywhere online.
A simple FMS3 and AS3 and RTMP and FLVPlayback example. totaly not simple and not possible to find
[Code]...
View 10 Replies
Jul 27, 2010
I'm using the FLVPlayback to load streaming videos from a FMS. The bug that I'm running into is with the buffering state. Several times the video will enter a buffering state that never ends. The last video event that's fired in this scenario is the BUFFERING_STATE_ENTERED. But if I seek the video on the seekbar, it's playing away.
View 3 Replies
Jun 5, 2009
We need to record and display daily/weekly/monthly statistics on vod application usage, we are working with multiple application and need statistics for each one of them individually parameters required are bandwidth, number of connection, view time ...
View 5 Replies
Jul 24, 2011
I have a function at the server side that loads an XML and makes a photo/link array from it.I want to pass this array to the clients swf to use it for a photoGallery.nd the array = [1,2,3,4] to the client and trace it at the client side?
View 1 Replies
Jan 17, 2011
I recorded videos using fms and i want to play them using FLVPlayback component. I've done some research but i cant find somethinguseful, I tried this code :
flvplayback.source = "rtmp://localhost/appname/instancename/video";
View 5 Replies
Apr 7, 2010
I have a live streaming application using RTMP. Sometimes the playback works fine but sometimes it stops without any trace or errors in the log file, while still appearing as a connected client.
View 7 Replies
Nov 19, 2010
I've read the reference here,but it seems to me that I can only make it work with live OR recorded videos.How can I make it work with both live AND recorded videos?
View 7 Replies
Mar 22, 2012
How to record a live video stream playing on an FLVPlayback?
View 1 Replies
Mar 26, 2010
Is there a tutorial for developing a Flash Video Player which expands on clicking? You can refer the videos embedded on facebook. They appear in smaller player but when clicked expand to fit the content.
View 1 Replies
Jun 15, 2010
I am running Flash Media Streaming Server 3.5.1 r516 on a CentOS system. I also have WHM/cPanel installed on this system. My scenario is this. We have a large number of MP4 media files that are currently located in a web root directory created by cPanel: /home/mediafa/public_html/fullservices. These all work without a problem when doing progressive downloads. However, we also want to make them streamable with FMS as well. From the documentation, I should be able to create an entry in the /<fms install dir>/applications/vod/Application.xml file to look up files in that folder.
Here is my VirtualDirectory block:
<StreamManager><VirtualDirectory>
<!-- Specifies application specific virtual directory mapping for recorded streams.-->
<Streams>/;/home/mediafa/public_html/fullservices</Streams>
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
</VirtualDirectory></StreamManager>
However, when I try to connect to a file that is in that directory, I get a 404 error in the access.00.log file. I've tried to change the owner/group on the fullservices folder as well as the owner/group of the target file to the fms user/group, but I still cannot connect to it. The connection address is rtmp://<ipAddress>/vod/mp4:1005-03m_256k.mp4.
View 1 Replies
Mar 23, 2011
I would like to embedd into our application which is running in DirectX fullscreen player of Flash video stream protected with DRM. How can we achive it? Is it possible to buy library as for Microsoft DRM?
View 2 Replies
Nov 2, 2010
I'm trying to add a custom callback handler to a NetStream client in a p2p application. The problem is, when I add such a handler, the NetStream Client doesn't function as it did before. It seems the NetStream.client object is changed. I know the default object is this. But changing the client to this doesn't solve the problem. The remoteControlStream, is the incoming stream. And the localControl stream is the stream being published. This is the localControlStream that's being send by the peer, and received as remoteControlStream:
private function initLocalControlStream():void{
localControlStream = new NetStream(nc, NetStream.DIRECT_CONNECTIONS);
localControlStream.addEventListener(NetStatusEvent.NET_STATUS, localControlHandler);
localControlStream.publish(myPeerID+"control");
var localControlStreamClient:Object = new Object();
[Code] .....
The onPeerConnect method of the localControlStream doesn't get called when I connect when the above handler is added. When I remove the that handler, the onPeerConnect method gets called. Obviously the problem is the NetStream.client.
View 1 Replies
Feb 22, 2011
How would one create custom class in Flash Media Server 4 in asc code file?[code]...
View 1 Replies
Feb 18, 2011
Is it possible to globally find/replace FLVPlayback parameters (e.g. contentPath, skinAutoHide, etc.) so that parameters can be changed globally throughout movie? I'm using Flash CS3 with ActionScript 2. Or, is there a way to override the FLV parameters at runtime using AS2?
View 7 Replies
Dec 22, 2010
ActionScript Code:
for (var v = 0; v <= 10; v++) {
var flv = attachMovie("FLVPlayback", "my_FLVPlybk" + v, v+1, {width:20, height:20, x:100, y:20});
}
With this code I have created 10 flvplayback components and inserted in the screen. How to access to each of this components i have created and change parameters like pause() them stop() play() add contentPath etc., I need that only after the loop is finished not while the loop is still on. Something like
findComponent("my_FLVPlybk1").stop();
View 2 Replies
Oct 4, 2011
I have a video which has an flvplayback inside. I have been using it for others flv. But with these 3 flv, when I set the path in the component parameters, flash shuts down. I have used aftereffects, media encoder to convert them from mov and avi to flv.
View 0 Replies
Aug 31, 2010
I'm currently trying to use the FLVPlayback component and pass a source FLV that's living on a cloudfront webserver. The problem is that the cloudfront requires authentication in the form of query strings in the source FLV. For example:[code]It adds on "&FLVPlaybackVersion= 2.1" to the end.I saw a different article that said I should add a dummy variable at the end like "&dummy=.flv" because I was told that Flash is basically looking for an .flv extension at the end and you can trick it, but it doesn't work because they add on additional code.
View 9 Replies
Dec 12, 2010
i have couple of videos that i want to play in succession. my theory on how to do this was to add an event listener that would call function to change the source of the FLVPlayback component and play once the initial video finished playing. The problem is that i don't know what parameters to pass to the eventlistener and the acting function. I just need someone to fill in the blanks to the following code
[Code]....
View 1 Replies