FMS netconnection to HTTPS
Hello friends,
I am currently stumped on how to make an FMS netconnection call to an AMF gateway using HTTPS.
It is my understanding that Flash in the browser will utilize whatever HTTPS cert the browser has available for the HTTPS path you are trying to connect.
Is there some sort of config or cert trick I need to apply for FMS to make HTTPS connections? I was considering it might be one of the following, but could not find any information on the subject:
-HTTPS cert saved to FMS directory?
-FMS config value for specific HTTPS paths?
-Allow the FMS host/ip to bypass HTTPS on server side?
Any thoughts on this would be very helpful!
Thank you
-Lucas
Hi Lucas,
I am not very clear about your problem, but here are my thoughts based on my assumption that you want to establish a secure connection with FMS.
In that case, you need to make rtmps connection with FMS and steps for same are as follows:
1. Create your certificate key file and cert file
2. Go to conf/_defaultRoot_/adaptor.xml and go to following section:
<SSLCertificateFile></SSLCertificateFile>
<!-- Specifies location of private key file for the certificate. If -->
<!-- an absolute path is not specified, the key file is assumed to be -->
<!-- relative to the adaptor directory. If the key file is encrypted, -->
<!-- the pass phrase must be specified in the SSLPassPhrase tag. -->
<!-- The type attribute specifies the type of encoding used for the -->
<!-- certificate key file. This can be either "PEM" or "ASN1". By -->
<!-- default, this is "PEM". -->
<SSLCertificateKeyFile type="PEM"></SSLCertificateKeyFile>
<!-- Specifies the passphrase to use for decrypting the private key -->
<!-- file. If the private key file is not encrypted, leave this tag -->
<!-- empty. -->
<SSLPassPhrase></SSLPassPhrase>
put appropriate values to these tags such as sslcertificatefile, sslcertificatekeyfile, sslpassphrase and restart the server.
3. From the client connect using rtmps://serverip/app/streamname and play your content.
4. For the first time, if certificate is not installed in browser (or if trust chain is missing) it will prompt you for trusting and installing the certificate in your browser and then you would be able to play your content.
5. Also, make sure that in your comf/fms.ini file, [ADAPTOR.HOSTPORT = :1935,80,-443] is set. rtmps uses 443 port.
Please revert back to me in case of further query.
Similar Messages
-
FMS NetConnection.call stops responding
I have a FMS 3.5.1 server running an application I developed. After some time it seems FMS becomes unstable and the flex client can connect (I receive a NetConnection.Connect.Success) but nothing happens after that. I did some digging, and it turns out that FMS is in a strange state where clients can connect, and FMS can successfully call functions on the flex client, however any NetConnection.call() from Flex to FMS does not work. I tried changing the flex client to make a function to fms test() that simply traces a test message, but I do not get any errors in Flex making the call, and do not get any errors in any fms log or application log, or the expected trace on FMS. It's as if the call was never made. The server however can continue to make function calls to the flex client. Also, after some time, some application instances continue to work while others do not. Restarting an application that is not responding does not fix the issue.
I made a wireshark capture on the FMS server during this:
frame #47 Server BW, Client BW, Ping, Invoke
frame #48 Server calls onBWCheck on flex client
frame #49 Flex sends Server BW message
frame #51 Flex calls Test() function on FMS
frame #52 Flex calls _result on FMS
frame #53 FMS sends ACK for frame #52
frame #89 Flex sends RST, ACK for frame 53 - RTT for ACK was 16.8 seconds
Earlier in the day I see a bunch of error messages in the logs:
This is from the master.00.log and there are 4971 of these in a row with the exact same timestamp
2010-06-21 04:50:26 10077 (e)2581395 Failed to signal process condition: errno(22). -
From the edge.00.log, I see a bunch of these about 4-5 per second
2010-06-21 04:48:21 10097 (e)2581394 Failed to wait for process condition: errno(43). -
core.00.log
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 05:57:12 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:05:17 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:11:56 22505 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -
2010-06-21 06:51:26 22803 (e)2581279 Assert failed in /FlashPlayer6_02_FlashCom/shared_tcserver/tcparser.cpp line 109 -Hi ptamilar,
Can you update to the most recent FMS available, FMS 3.5.3 and if you're still seeing this issue email me ([email protected]) directly and we'll work together to get this resolved for you.
http://www.adobe.com/support/flashmediaserver/downloads_updaters.html
Asa -
Does FMS 3 support https protocol?
Hi, all!
I have a problem with using https protocol with NetConnection
(also with NetServices, XML or WebService). I want to connect to
AMFPHP from Flash Media Server 3 through secure https. All works
fine through http protocol. Also AMFPHP works fine when I do
connection and call some method from Flash Client (source in
ActionScript2). But with https NetConnection.Connect.Rejected is
returning. Also, RTMPS connection to another FMS works OK. What is
the problem?
Thank you!
p.s. sorry for my english ;)I think it support it but has to be after windown 95..
-
Proxying from FMS to HTTP stops working after a few hours
Hi,
I'm using FMS Streaming 3.5.0 r405 on linux servers to stream videos with RTMP/RTMPT. We have decided to use the new proxying function to redirect HTTP requests to a Web server. We did not install the included Apache server, but used a lighttpd server installed on the same machines and configured to listen on port 81. So when a client connects with our player, it tries first RTMP, RTMPT and if it times out on these attemps, we try to go through with HTTP. FMS proxies the HTTP request received on port 80 to the lighttpd server on port 81.
My fms.ini file contains:
# Whether to start and stop the included HTTP server along
# with FMS.
SERVER.HTTPD_ENABLED = false
# IP (address and) port that Flash Media Server should proxy
# unknown HTTP requests to. Leave empty to disable proxying.
# With no address, specifies a localhost port.
# For example:
# HTTPPROXY.HOST = webfarm.example.com:80
HTTPPROXY.HOST = :81
This works well, but after a few hours, the HTTP proxy of FMS does not work anymore. Lighttpd is still responding on port 81. There is no error in all log files. Just stops working!
I have to restart FMS to enable again the tunnel. This behavior happens on all my streamers. Is it a bug or am I missing something?Hi,
This is what I'm getting when using "ldd fmsedge"
root@wis-fms fms]# ldd fmsedge
linux-gate.so.1 => (0x006ba000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a67000)
libasneu.so.1 => not found
librt.so.1 => /lib/librt.so.1 (0x0012a000)
libdl.so.2 => /lib/libdl.so.2 (0x00a61000)
libcap.so.1 => /lib/libcap.so.1 (0x00688000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00cc5000)
libm.so.6 => /lib/libm.so.6 (0x00a38000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00c3b000)
libc.so.6 => /lib/libc.so.6 (0x008f3000)
/lib/ld-linux.so.2 (0x008d5000)
[root
Alon -
Record video with FMS, but distribute progressive - with HTTP
My application is going to serve around 200K simultanios
users. I can spend some money on FMS for the purpose of recording
video using Flash only (I mean w/o additional SW on the client).
But when it comes to serving the video, the cost of FMS is beyond
what I can afford. Therefore, I was thinking to use FlashPlayer/FMS
to record Audio/Video using the built-in Camera class in the Flash
Player and move the encoded file that's been store on FMS, to an
HTTP server. My viewers will play, in their Flash Player, simple
progressive video off of HTTP server (instead of streaming video
off of FMS).
Is it doable? What server-side SW is required to move the
recorded video to another HTTP server?
Any piece of info would be appreciated.When you open iMovie look at the switch under the screen. You will see a camera on the left of the switch and scissors on left. Flip the switch to the camera and the built in camera should come on. Then on the screen it will say record with isight. That starts the record.
-
Hello,
I am still new to FMS... I have installed FMS 4.5 several weeks ago.. but at that time, i did not install Apache HTTP Server. ...
So, if now i need to enable Apache HTTP Server, can I do install it now alone? or i need to re-install FMS4.5 to get it working?
thanksHello hparmar,
thanks for the help and the information. Appreciated. I just want to make sure so that I donot mess things up. I am still very new into this:
So i will download a copy of conf and application folder
Install FMS again with http
the replace the conf and application folder with the ones i downloaded before as back up...
right? and do i need to uninstall the original server first? before re-installing it?
Thanks -
Has anyone tried using FMS 3 and Xen in a medium to large
production environment ?
I know that FMS and virtualization is not officially
supported, and that using VMware provides several performance
decreases. But is that also relevant to Xen ?
Xen support an option to activate an independant wallclock,
to remove all clock drifts / jitter.
Since this was one of the major problems with VMware, I would
like to know if there could be additional problems in a virtualized
environment.
Versions,
Linux: 2.6.18 (Debian Xen kernel)
Xen 3.2.0
FMS 3.0.2-r217DVR is supported from FMS 3.5 and not from FMS 3.
Now coming to the question, yes DVR is done via server-side code (though you can do direct client-side record - but its not preferred way of doing it)
There is no built-in player as such but Adobe does provide ready-to-use solution for DVR which is called dvrcast. You can find dvrcast application on FMS tools page - http://www.adobe.com/products/flashmediaserver/tool_downloads/ . The solution comes with two server-side applications + FLVPlayback component which can be used on client side. -
Hi,
We tried to stream from FMS 3.5 flv files through HTTP,
How can we prevent Progressive download when we stream flv via HTTP?
We tried some configuration but it seems that files are always download to the local computer temp folder
Can someone point to documentation that explain how to stream flv without Progressive download ?
Regards,
Kobi ShalomIf you're already running IIS, there's no reason to use the included Apache installation.
Apache isn't really an integral part of FMS, and IMO, really shouldn't be part of the FMS distribution. When FMS encounters an HTTP requests, it forwards that request to a port defined in fms.ini (8134 by default). If you need to support HTTP redirection from FMS, you could just as well use your existing IIS.
The only benefit I see in using the included apache installation is if you don't already have an httpd server running, and you want to serve both streaming and progressive video. Beyond that, I see no reason to use (or even install) Apache. -
Cannot connect to FMS 4 using rtmfp
Hi people,
I was try to connect my FMS 4 development server (Redhat linux OS) in live which was not connected, but the same setup in local windows is connected.
I do know whats the exact problem. Also i will stop the iptables in linux but no use. Please any idea, its worthful.
thanx and regards
SureshHi Nikhil,
Appreciate your reply.
Both Firewall and the SELinux are disabled. But still cannot access the FMS
Server using http://ip-address. Windows installation works perfectly. But
still I can Telnet to port 80,1935 and 111 in the Linux installation. This
is weird. I don't know why the only the Linux setup is not working. Any
idea that I need to change any configuration in the Linux setup? Here is
the Linux version I've installed,
Re: Cannot connect to FMS 4 using rtmfp# uname -a
Linux GSMedia 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64
x86_64 x86_64 GNU/Linux
Re: Cannot connect to FMS 4 using rtmfp# cat /proc/version
Linux version 2.6.18-274.12.1.el5 ([email protected])
(gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Nov 8 21:37:35
EST 2011
Re: Cannot connect to FMS 4 using rtmfp# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Thank you.
Viraj
From: Nikhil Pavan Kalyan <[email protected]>
To: Kularatnav2012 <[email protected]>
Date: 01/05/2012 03:57 AM
Subject: Re: Cannot connect to FMS 4 using rtmfp Cannot connect to FMS 4 using rtmfp -
Unable to snap to live with HTTP Dynamic streaming
Hi there
Am having an issue with Http dynamic live streaming, whereby the stream will not snap to the live point, despite calling the stop() action on the PlayTrait of the MediaElement. Instead, upon resuming playback the stream restarts from the point in the stream at which it was stopped - effectively acting as a pause of the stream, and continues to play. After checking at runtime, the Media Element does not have the DVRTrait, so I am not sure how this DVR like functionality is actually occuring?
I have checked the manifest file (see below, with baseURl removed) and the dvrInfo parameter is not present, as is suggested in the documentation http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Live_DVR_Rolling_Window_f or_HTTP_dynamic_streams
From the documentation, the 'snap to live' functionality is meant to be as default, however this does not seem to be the case. Are there any other parameters that need to be configured, either on the FMS side, or in the code for the OSMF player in order for this to happen?
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://XXXXXXXXXXXXXXXXXXXXX/_definst_/liveevent/</baseURL>
<media href="_1_34.f4m" bitrate="400"/>
<media href="_2_34.f4m" bitrate="600"/>
<media href="_3_34.f4m" bitrate="800"/>
<media href="_4_34.f4m" bitrate="1200"/>
<media href="_5_34.f4m" bitrate="1500"/>
<media href="_6_34.f4m" bitrate="1800"/>
<media href="_7_34.f4m" bitrate="2200"/>
</manifest>
OSMF 2.0
FMS 4.5
HTTP Dynamic Live Streaming
Thanks
SteveHi there
Am having an issue with Http dynamic live streaming, whereby the stream will not snap to the live point, despite calling the stop() action on the PlayTrait of the MediaElement. Instead, upon resuming playback the stream restarts from the point in the stream at which it was stopped - effectively acting as a pause of the stream, and continues to play. After checking at runtime, the Media Element does not have the DVRTrait, so I am not sure how this DVR like functionality is actually occuring?
I have checked the manifest file (see below, with baseURl removed) and the dvrInfo parameter is not present, as is suggested in the documentation http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Live_DVR_Rolling_Window_f or_HTTP_dynamic_streams
From the documentation, the 'snap to live' functionality is meant to be as default, however this does not seem to be the case. Are there any other parameters that need to be configured, either on the FMS side, or in the code for the OSMF player in order for this to happen?
<manifest xmlns="http://ns.adobe.com/f4m/2.0">
<baseURL>http://XXXXXXXXXXXXXXXXXXXXX/_definst_/liveevent/</baseURL>
<media href="_1_34.f4m" bitrate="400"/>
<media href="_2_34.f4m" bitrate="600"/>
<media href="_3_34.f4m" bitrate="800"/>
<media href="_4_34.f4m" bitrate="1200"/>
<media href="_5_34.f4m" bitrate="1500"/>
<media href="_6_34.f4m" bitrate="1800"/>
<media href="_7_34.f4m" bitrate="2200"/>
</manifest>
OSMF 2.0
FMS 4.5
HTTP Dynamic Live Streaming
Thanks
Steve -
I developed a prototype application using LCCS - Now I want to create the final app -
One of the requirements is to record video-chats on the server - For that reason I am thinking of purchasing FMS 4.5 and host a local server here in Australia (FOR LATENCY obviously)
Reason for hosting myself:
1) Latency - I live in Australia - a local server makes sense
2) Recording etc.. of video-chat - a capability only available on your own FMS-server and NOT LCCS
BUT - I am going through the documnetation and it seems the whiteboard components, chatroom <rtc:SimpleChat , creating rooms "on the fly" - are all part of LCCS and not FMS
Does this mean I have to develop those functionalities on my own FMS server myself -
according:
LCCS vs Red 5 vs FMS 4 ENTERPRISE
http://forums.adobe.com/thread/741180
LCCS is an "application" built on top of FMS and a set of well defined collaboration APIs
This means FMS does not come with the pre-built LCCS capabilities - you can only get it if hosted through Adobe LCCSYou might want to look at this:
http://forums.adobe.com/message/4083124#4083124 -
Is it possible to send an email from FMS? If not, how would I
go about creating a connection from FMS to a http server running
PHP? Just use LoadVars like a regular Flash client? Would that
invoke cross-domain issues to resolve?FMS isn't a mailserver, so it can't send mail directly.
You can connect up to your php server using LoadVars. You can
also use netServices and AMFPHP, but that's probably overkill for
your purposes. Loadvars on the server side is pretty much the same
as loadvars on the client side. There is no sandbox for FMS like
there is for the Flashplayer, so the cross domain concerns don't
apply. -
Massive CPU usage FMS 3.5 live streaming
Hi,
Hope this is the right group to post a question.
We have a problem working with FMS 3.5 (installed on a IIS server).
Configuration of the servers all based on IIS:
webserver (authentification, xml data loaded by Flash app, data (on IIS) sended to and recieve from FMS).
Seperate FMS 3.5 (latest update) server. Only running FMS (no other apps are running on this machine).
Starting this project we tested the amount of connections (data flow, CPU, memory) by multiplying it with the aimed number of users (at least 500
simultaneously). Now is seams that this is not the way to do this.
Clients | CPU | Memory
10 2% 12,5 %
50 5% 12,5 %
100 12% 17,0%
200 17% 25,0%
300 100% 30,0%
Does anyone have the same problem (high usage of CPU) with a higher amount of connections?
I hoped/figured that the FMS sollution would provide a wider/higer range of connections without the trouble of server capacity.
We use servers with 2 processors (seperate), and 4 gig internal memory, run on 2003 server standard edition (32 bit version).
We are still testing and trying to figure out how to solve this problem. I hope we did something wrong and be able to fix this.
I read a lot of articles on the adobe site (including the optimize FMS for streaming media).
MartijnYou should check out this blog post by Kevin Towes, the FMS Product Manager:
http://blogs.adobe.com/ktowes/2008/08/breaking_1gbps_on_flash_media.html
"Generally network administrators will run a server network adaptor anywhere from 60-80% capacity (average about 700Mbps). This is not the limit of what FMS is capable of. Limiting utilization is useful to allow burst headroom, and to reduce the CPU load. There is a direct relationship between the network adaptor and the server’s CPU. As a network adaptor utilization nears 100%, the server’s CPU utilization significantly increases."
Do you know what percentage of your network card you're using?
Jody -
Hi Folks...
What is the difference between FMS 3 and FMS 3.5? Is 3.5 a totally new version or just some kind of service upgrade?DVR is supported from FMS 3.5 and not from FMS 3.
Now coming to the question, yes DVR is done via server-side code (though you can do direct client-side record - but its not preferred way of doing it)
There is no built-in player as such but Adobe does provide ready-to-use solution for DVR which is called dvrcast. You can find dvrcast application on FMS tools page - http://www.adobe.com/products/flashmediaserver/tool_downloads/ . The solution comes with two server-side applications + FLVPlayback component which can be used on client side. -
Hello all,
I am running Flash Media Server 4.5.1 for Windows. I am using Windows 2008 R2 Server. Whenever I start my Flash Media Server, I get the following error in my Windows Event Log in the Application section.
The Apache service named reported the following error:
>>> [Tue Sep 04 13:43:40 2012] [info] mod_jithttp - FMS installation path: "C:\\Program Files\\Adobe\\Flash Media Server 4.5\\" .
I am using the default configuration settings for HDS Live in the Apache2.2/conf/httpd.conf
<IfModule jithttp_module>
<Location /hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "/flashvideo"
JitFmsDirPath ".."
Options -Indexes FollowSymlinks
</Location>
</IfModule>
I am not sure what the error is, I did see using a single quote if you are using spaces in Windows for Apache2.2 configuration and that setting did not work. I would like to use HDS Live eventually. If anyone has experience in troubleshooting this, I'd love to hear your input. Thank you.
Harry TraverHello Shiven,
FMS Apache Service is installed from the Adobe Flash Media Server installation program. When I start FMS from the "Start Adobe Flash Media Server 4.5" icon, it starts both the "Flash Media Server (FMS)" and "FMSHttpd" service. When I stop the FMSHttpd service I am not longer able to access my FMS server from http://myfmsserverip. Please advise.
Harry Traver
Maybe you are looking for
-
How do I find the range of a bunch of #'s using for loops?
I have a program that gets 13 numbers from the user and I nned to find the range of them. How do I do this with for loops?
-
Hello all, I’m hoping to get some help with my SQL code. I’m relatively new with SQL, and this is my first time using subqueries, and I’m getting some issues. Here’s what I’m looking to do, and I’ll try to make it as least confusing as possible. My t
-
How to set default date in IT15
Hi Dear Experts, We need default IT15 date as last day of each payroll period, is there any standard configuration for this requirement? Thank you so much for the help. Xiaoli
-
Cross Client Configuration in SAP PM
Dear SAP PM Expert, Can anybody tell me what are the cross client configuration in SAP PM? Regards, Rahmad
-
Dataload: InfoPackage Error
Hi Guys, I am trying to extract data from 2LIS_03_BF. I got the below errors when loading data into a custom ODS. Following are the errors in the status tab of the monitor: Data records for package 1 selected in PSA - 1 error(S) (RSM2 704) Error 1 in