I'm trying to limit a client's video playback to 10 seconds.After that,the client should be disconnected.I have to allow time for connection and buffering, so I can't just disconnect them after 10 seconds.I was hoping to override the play command, so I can force the length parameter to 10,
I've been using the Flex "HTML" component in my AIR 2.7 project. It's a wrapper for the HtmlLoader class. The problem is that empty referers in HTML headers are automatically set to "app://[appname].swf". This is not standard as default referer behavior should be to not set any referer at all. The consequence is I'm getting denied access on certain websites using iframes (as location changes from an iframe set an empty referer). I have no control over those requests has no event is fired when changed the source of an iframe.
I have thought about the possibility of intercepting all network calls and setting the referer to empty when necessary before sending the message. My app is only a container in wich a module is loaded for easier updates so maybe I could set up a proxy on top or something like that. Is there any way to intercept network messages in Flex??
The Administration API exposes many methods that allow for monitoring and administration of Flash Media Server. Evidently, the Administration Console provided with Flash Media Server uses this API via RTMP. It must then be possible to receive the log messages that are created when server-side actionscript calls the trace method as these messages are received by the Administration Console. But I cannot find any reference to this in the Administration API documentation.pick up these messages? For example, if you were to build your own administration console, as the documentation welcomes you to do, how would you replicate the "Live Log"?
I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".
On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.
With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:
info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.
I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions, streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
We use FMIS (3.5) to distribute our videos, but how can I use HTML5 to view them without duplicating the video to the HTTP VOD directory.Can I point to the application FMS file location like I can with RTMP in some way?
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??
Using SSAS on FMS3.5, is there a way to get the stream name of a play event? In my case, I am trying to run additional steps when a stream is played and I need the stream name to do so.
So, I've got my videos set up on the server structure right. I've got them referenced properly in the Flash playback component.But some of the videos on the server stream and some don't.The ones that don't still show up as connections in the Administrator, though
I need application that will stream flv like on TV that all connected users will see same stream. If they close and than connect they will see what is going on not form beginning
the question is,a client which can use "rtmfp" to connect to a FMS server,and the connecting success,Whether Can not guarantee that the client can play the Multicast video? because the client may be behind a Special firewall So he may connect to the FMS server ,but can not use P2P to connect to the members those are in the group?
If the answer is "yes",Whether i should make a check function that make these client back to "RTMP"?
How to play a FLV file located in a second FMS not directly accessible by the flash client?
- I am publishing an audio stream from the flash client to a FMS;- This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
How can I play in the client the FLV audio file that I recorded in the second FMS?
- The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
I would like to show the live TV video on Flash player from my TV tunner. Is it possible to do it without FMS like using Webcam?
It will not be running on the internet/network and only for a computer that have TV tunner. (Ideally: open a swf and you can watch a TV tunner by flash player). But i cannot find any information if i can do it without FMS.
Created a SWF 65kb in CS3. It plays the SWF fine offline. followed the CS4 classroom in a book scenario & copied it to CS4 thinking it might fix any errors. The CS3 version would play on IE screen but not on my server (server supports flash). CS4 plays it on the screen but not on IE. The Scripts/install & object files were uploaded to my server.
I've setup a simple DVR player using the DVRCast application and Adobe FLVPlayback 2.5 from Adobe tools. I'm able to use it to play a recorded live stream which is recorded by Flash Media Live Encoder.
I'm wandering if I can now use the DVR player to play a video within the vod application?
To start with I just want to copy the f4v file created by Live Encoder to the vod directory and then use the DVR player to play it.
When i publish the streams on a linux server, the .flv files have permissions like this:-rw-rw----. And i don't have permissions to access this file on a client browser... Currently, i can only change the permission using "chmod" manually
i have a linux machine with two NICs, one for Apache/PHP (port 80) and the other for FMS 4 (ports 1935, 80). I need to use RTMPT over port 80 due to our organization wireless network restrictions. I think i have set up everything right, but we cannot see any video using the wifi clients. Apparently, the problem disappears when opening the firewall and allowing port 1935 traffic.
I've spent like the past 5 days trying to get this to work as a client has given me 100GB of videos that are in subfolders. For some reason I'm unable to play media from any subdirectory in vod.
All of the media & subfolders are here: C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmedia
This works: C:Program Files (x86)AdobeFlash Media Server 3.5applicationsvodmediasample.mp4
I've also tried as the server rtmp://localhost/vod/subfolder/ but it does not work. I've also tried in the stream "mp4:subfolder/movie.mp4" that doesn't work either.
I am testing fms this days, I have put all my files(such as 1.mp3,2.mp3...n.mp3) in my directory.I can play single file fine with url like this: rtmp://localhost/mp3/mp3:x/2
but i want to know is there any way to play all files in my direcotry? for example, user click the play button, the player(smp) automatic plays all files in the directory, link windows media server.Should I use playlist? Or there is another better way?
I'd like to divide to different folder name by name, so i build a lot of document under _definst_ i can play flv vedio at applications eststream\_definst_sample, but f4v(mp4)can't
I'm recording audio using FMIS, the file is being saved out as a FLV file and I am able to play it back. Eventually that file may be deleted after some time and I would like to notify the user if the file is no longer available. I was expecting to see NetStream.Play.StreamNotFound after deleting the file on the server but I'm not getting that message. Instead I get:
--> NetStream.Play.Reset--> NetStream.Play.StartAnd nothing plays which is expected since the file is deleted, but I dont get the right message. I'm calling the file like so:ns.play ("flv:file_to_stream");
I have been looking for a way to tell what file was requested from within a VOD app when a video is played. I want to use the file name for something else but I dont want to have to send it with a second argument in connect().
Is it possible to tell what file is requested??? If so how can I do this??
My swf is playing one video in using NetConnection, NetStream and Video object. If I want to stream one more video simultaneously in the same swf I have a few problems. It works when I create more NetConnection, NetStream and Video objects but is that necessary? The code rapidly becomes complex to handle.
Is there an easier way like perhaps share the NetConnection, or something (same FMS server)?
Question 2
The two videos on the stage are suppose to have different size, placement etc. Still the last one created inherit the properties of the first video display. It also starts playing for an annoying couple of seconds before the first one. How can I avoid that (inherit and delay)?
var ns1:NetStream; var ns2:NetStream; var nc1:NetConnection = new NetConnection();
I'm streaming mp3 on flash media server 3.5 on linux version, and very often come accross with that problem, when the buffer.length become 0 on client side, the streaming will stop with NetStream.Play.Stop event, and will not be continued. I think this case it should wait always till the data arrives and never should stopping. Some more info : I tested on applications/live folder, and the mp3 files are created dynamically during the playing, and the creation speed is almost the same like the playing speed, so those are not fix files.