OSMF handling connections on Flash Media Server
How do I "kill" a connection on Flash Media server using OSMF?
Can I just "stop" a video (i.e. _player.stop() ) or do I have to set the media to null?
MediaPlayer.stop() will only stop playback of the stream, but not close the connection.
If you set MediaPlayer.media to null, then it will close the connection.
Similar Messages
-
Slow connection to flash media server 2 (with HTTP Tunneling)
Hello,
I use a FMS2 for a big project which include Instant
Messenger and
streaming video.
On my development platform. I have no problem. But in the
final
configuration, the connection to Flash Media Server takes a
lot of
time (about 2 or 3 minutes) and i can't find why.
FMS2 was installed on Windows 2003 Server behind a proxy and
a
firewall which only let the hostport 80 oppened.
The server does not run a web server (or anyother
application) which
use this hostport.
The connection are established by HTTP Tunneling.
Does someone already have the same problem?
Thanks for your answers and sorry for my poor english level.
GuillaumeI forgot to mention:
Flash Media server is running fine. I can log into the Admin
application no probs.
I created a folder called "test". Inside that folder I
created another one called streams and inside that folder I created
a folder called _definst_.
I placed an flv file called: test.flv in to the _definst_
folder.
In Dreamweaver CS3 I inserted a Flash Video File:
Chose Streaming as the option and for the RTMP path I put:
rtmp://ipaddressofserver/test/_definst_/test.flv
Called the stream....test.
When i run the page it loads, but the page is blank.
In the Flash Media Server, in the "View Applicationd" tab
I get the record of test and underneath it in the same link
it says test.flv with 1 client
The Streams tab shows a random name and Netstream.
This tells me its recognising the connection and link, but
the movie is not on the page
any help would be appreciated
cheers -
I do not obtain to connect in Flash Media Server !!
Hi people
I do not obtain to connect in Flash Media Server after that I
installed it !!!
I go in Star > Programs > Macromedia > Flash Media
Server > Manangement Console
In go in the console and I place the password and the user
who I placed at the moment of the installation and go in Login, but
I do not happen nothing!
Somebody can help me ?
Sorry my english
PHANTOXEDid you look in
Program Files\Macromedia\Flash Media Server 2\conf
that's where
fms.ini is located. HTH... -
I can't connect to Flash Media Server 5 on UBUNTU
Hello everyone,
I install Flash Media Server 5 Extended edition with apache on UBUNTU SERVER 14.04 successfully.
Now when I type IP address in the other computer in the same network I can login to the Flash Media Server console but when I want to publish video from webcam or other devices to the media server I get the error "NetConnection.Connect.Failed"
I am newer in Linux please advise me to solve this problem.
Thanks in advance.Hello,
You are using the default discovery service : multicasting
Check if the multicasting is working on your system
http://radio.weblogs.com/0132383/stories/2004/05/21/mutlicastChecker.html
Else, you can switch to the other "Discovery service" : namingservice
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#CHDDDFEI
3.3 Configuring the Reports Server Discovery Mechanism
Regards -
FMLE not connecting to Flash Media Server
I have two laptops with windows 7 and FMLE 3.2 and FMS 4.5 in them. Laptop A is working perfectly with the default settings but i cannot connect to FMS with laptop B. I have tried turning windows firewall off, setting fmscore, fmscore and fmsmaster to run under administrator privileges.
The FMS starts correctly on laptop B (i compared the log-files on laptop a and b) and here is edge.00.log from laptop B (i censored my ip and host):
#Date: 2012-08-09
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-09 12:37:37 3432 (i)2581173 FMS detected IPv6 protocol stack! -
2012-08-09 12:37:37 3432 (i)2581173 FMS config <NetworkingIPv6 enable=false> -
2012-08-09 12:37:37 3432 (i)2581173 FMS running in IPv4 protocol stack mode! -
2012-08-09 12:37:37 3432 (i)2581173 Host: myhost IPv4: myip -
2012-08-09 12:37:37 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4 -
2012-08-09 12:37:38 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 1935/v4 -
2012-08-09 12:37:38 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 80/v4 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : myip:19350 (rtmfp-core)/v4 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4 -
2012-08-09 12:37:39 3432 (i)2631509 Public rtmfp-core addresses for listener _defaultRoot__edge1 are: myip:19350 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : myip:1935 (rtmfp)/v4 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : myip:80 (rtmfp)/v4 -
2012-08-09 12:37:39 3432 (i)2631174 Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:80 (rtmfp)/v4 -
When i hit Connect button in FMLE i get the "Cannot connect to primary server" - error. When i change the FMS-Url to the ip-address of my laptop A i can connect to its FMS. The default FMS Url is rtmp://localhost/live and Stream: "mystream@38220" (this is working in laptop A).
I downloaded TCPView and compared whats happening with the laptops when i hit the Connect button. On laptop B FMLE sends bytes to FMSEdge and it responds with 1 byte and then nothing happens. On laptop A same thing happens but it opens up FMSCore and the stream starts going live.
Apparently the FMS had worked on laptop B before but then it stopped working due to reasons unknown. I tried reinstalling it with no results and now im clueless. I also tried the fmscheck and it said it cannot connect to FMS. It seems the FMSEdge is not behaving correctly or something is blocking the traffic between the programs. Please help.Access log looks like this:
#Date: 2012-08-09
#Fields: x-event x-category date time tz x-ctx s-ip x-pid x-cpu-load x-mem-load x-adaptor x-vhost x-app x-appinst x-duration x-status c-ip c-proto c-proto-ver s-uri cs-uri-stem cs-uri-query c-referrer c-user-agent c-client-id cs-bytes sc-bytes c-connect-type x-sname x-sname-query x-suri-query x-suri-stem x-suri x-file-name x-file-ext x-file-size x-file-length x-spos c-spos cs-stream-bytes sc-stream-bytes x-service-name x-sc-qos-bytes x-comment x-eid x-sid x-trans-sname x-trans-sname-query x-trans-file-ext x-trans-mode x-soffset x-codec-type x-codec x-plugin x-page-url x-smax-rec-size x-smax-rec-duration x-forwarded-for
server-start server 2012-08-09 12:35:42 FLE Daylight Time - 192.194.211.110 7492 0 48 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Then there is the master log:
#Date: 2012-08-14
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-14 13:30:12 3216 (i)2581173 FMS detected IPv6 protocol stack! -
2012-08-14 13:30:12 3216 (i)2581173 FMS config <NetworkingIPv6 enable=false> -
2012-08-14 13:30:12 3216 (i)2581173 FMS running in IPv4 protocol stack mode! -
2012-08-14 13:30:12 3216 (i)2581173 Host: Tatu-PC IPv4: 192.194.211.110 -
2012-08-14 13:30:12 3216 (i)2571011 Server starting... -
2012-08-14 13:30:12 3216 (i)2581224 Edge (2992) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1". -
2012-08-14 13:30:12 3216 (i)2571111 Server started (C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml). -
And the core log
#Version: 1.0
#Start-Date: 2012-08-09 09:35:26
#Software: Adobe Flash Media Server 4.5.0 r297 x86
#Date: 2012-08-09
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-09 09:35:26 5380 (e)2571122 Server aborted. -
#Date: 2012-08-09
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-09 11:51:27 1340 (e)2571122 Server aborted. -
#Date: 2012-08-09
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-09 11:51:36 7848 (e)2571122 Server aborted. -
#Date: 2012-08-09
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-09 12:35:43 7492 (e)2571122 Server aborted. -
I tried connecting to localhost:1935 with telnet and typing something and then watching what happens in TCPView. It says that the fmsedge process listening to port 1935 establishes the connection and receives the bytes, though it closes it after few seconds probably because it doesnt understand what data i sent. And when FMLE sends 1537 bytes to fmsedge it receives them but nothing happens. -
Whether Sophos Antivirus can stop taking connection by Flash media server?
Hi
Our flash media server stops taking connection sometime. Any one have any idea about sophos antivirus?
Please suggest what should we do.
Thanks in advance.Thanks SE for the reply.
But i got a message "Connection to the Server Failed. Please try to rejoin the call".
We were not getting this problem before installation of anitvirus on our client machine. Now FMS gets down or we can say not accepting connection. Even at that time(server down condition) we can't enter into managment console of FMS. Sometime it start taking connection after one hour or two hour. -
Can't connect the Flash Media Server
hi ,I am a jackaroo in Flash Media Server
My OS is Windows XP ,I install the Flash Media Server in
C:\programme files\
using fms2_console.swf i can successfully connect to the
server and manage it.
I make a empty folder named 'test' in the application folder
then i deploy it in cosole.
next I write actionscript in flex to connect to the server.
but it always return 'connection failed'
in the server log ,it displays 'Sun 06:46:55 PM: Core (3964)
socket migration failed.'
I use netstat -a ,the port 1111,1935 ,11110,19350 are open.
The code I writed looks like this
NetConnection.defaultObjectEncoding =
flash.net.ObjectEncoding.AMF0;
public var net_con:NetConnection;
net_con=new NetConnection();
net_con.addEventListener(NetStatusEvent.NET_STATUS,connectionHandle);
net_con.connect("rtmp:/test");
private function connectionHandle(event:NetStatusEvent):void
if((event.info.code=="NetConnection.Connect.Success")||net_con.connected==true)
Alert.show("CONNECTION SUCC!!!");
else
Alert.show("CONNECTION FAILED!!!");
I don't why it cann't connect to the server
I googled it but find nothing helpful and I think you can
help me .
Very sorry for my bad english .I think there is no problem in this code.
because In the documention flashmediaserver_developing.pdf
It's write
"Applications are run by creating application instances. When
a client connects to an
application, the client is actually connected to an
application instance. For example, a client
connects to an application named chat_app, as the following
example shows:
nc.connect(“rtmp://myDomain.com/chat_app”);"
I also tried rtmp://127.0.0.1/test ,but same result -
The connection to flash media server has failed
whenever i try to log into chatzppl i get this message,i can log into other sites fine,any idea's please.
Hi 1030bob, I just noticed this post and wondered if it is related to the other one that
was solved? The reason I was asking, is that another poster replied to you on this one
and I don't know if he posted his issue. I wanted to respond to him but if you know, please
advise. Thank-you!
Between all of us working together, maybe we'll clear the problems out!!! -
Hi there,
I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
Thank you so much. And I hope you understand my situation asking here...
Janahparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..? -
Flash lite 2 & Flash Media Server 2
Does Flash lite 2 futures connection with Flash Media Server
2?Ciao
nope, sorry.
You can use your own API in other scripting languages to
communicate with a server.
Alessandro -
Number of connection allowed in the free developer ediiton of Flash Media Server
Hi
I would like to know the number of connection allowed in the free developer ediiton of Flash Media Server
Regards
SunnyHi,
When we say we limit the number of connections to 10 in Flash Media Development Server, we mean that we allow 10 successful connections and reject 11th connection onwards. So at anypoint of time your server can have only 10 active connections. When there are 10 active connections and a 11th client tries to connect to the server, the connection is rejected with reason "NetConnection.Connect.Rejected - [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_) : Max connections allowed exceeds license limit. " and these details are logged at the server side core.log too
Regards,
Janaki L -
Flash Media Server 3 and Adobe Connect 6.0 SP2
Hi all, I have a doubt.
It's possible to run Adobe Connect Server 6.0 SP2 and Flash
Media Server 3 in the same machine?
Thnx.Adobe Connect server includes its own flash media server. in
that case;
There can be some conflicts for port/service registration
etc. -
Connecting a db from flash media server 2
how can i connect a DB (i assume using a server sdside script
like php and
so on)
from flash media server so that i can get data and make
diffrent operatins
on users like blocking and so on
thnaks in advance
pelegYour can use loadVars (just like in client side AS), or you
can use AMFPHP. You'll find some relevant AMFPHP/FMS examples at
flash-db.com -
Flash media server stops accepting connection.
We have one application in which we are using flash media server 2.0.5. We dont know why it's stop taking connection occasionally at that time we can't enter into the managment console. We get a white screen. When we try to enter user name and password it's does not accpet the credentials. We are not getting anything in the log.
Port number 1935 and 1111 of the particular system where FMS has placed are working fine.
Does anybody have any idea why we are facing this problem?That's a pretty old version, have you thought of upgrading?
There are a few reasons this could be happening. You could be reaching the limit for connections or bandwidth.
There could be a problem in your server side coding that is stalling the app.
There could be a problem with the service itself and it's maxing out on memory or CPU. I don't know why you are getting a white screen for anything, the management console has never been white for me and I suspect that it's more of a local computer problem unless it's the same computer you are running the service on..
Any more information on the license, server hardware or environment? -
Flash media server wont connect
hya ive installed flash media server to run video and audio in
my chatroom but i cant get fms to connect ive put the right user
name pass etc can anyone help ty janxxxHi,
I have the same problem! Did you solve it? Any tips?
Thanks!
Maybe you are looking for
-
Wrong logical system for partner profile
Dear gurus, we have been sending ORDERS Idocs for some time now, using to a logical system called MSC_MM_PRD, a RFC connection called MSC_MM_PRD and a port for Idoc processing called A000000003. Now, we would like to send ORDERS Idocs to another logi
-
Stop seconday database when it is in restoring state
Hi All, We are planning to perform Switch from primary to secondary server by using Libelle tool. Before switch we have planned to increase the server resources and make it same as primary. So for that we need to stop database running on secondary s
-
Active Threads in OHS is always 0
Hi, While doing load test we are gettting response time more proportionately to no of Requests.We gave 200 for "ThreadsPerChild" but in enterpise manager it is always showing "Active Threads" as 1 and "Idle Threads" as 199. Even we have tried from di
-
On diagnostics results my printer pass wireless, connectivity, network, settings. Configuration show name, ip, etc but internet not connected. I have tried everything and it will not connect so I cannot use my web services. Any suggestion other th
-
Adobe Flash Player on 10.10.2 does not Install
I was prompted to update my flash player and I did and it failed and has never worked since. Here is my log file. 2015-02-02 08:03:18 -0600 [I] IM: ---------- log start ---------- 2015-02-02 08:03:18 -0600 [I] IM: All install checks pass 2015-02-02