Chaining streams between 2 media server

Hi i'm trying to setup a stream chaining between 2 flash
media servers.
Basically I have an swf that streams my camera to FS Server
1. In FS Server 1, i have the following code in the main.asc
application.onConnect = function(client, username){
gFrameworkFC.getClientGlobals(client).username = username;
application.acceptConnection(client);
application.onConnectAccept = function(client, username){
application.myRemoteConn.connect("rtmp://10.0.0.23/myapp");
// Connect to FS2
application.myRemoteConn.onStatus = function(info){
if (info.code == "NetConnection.Connect.Success" &&
application.myRemoteConn.isConnected){
application.myStream = Stream.get("foo");
if (application.myStream) {
application.myStream.play("me_live", 0, -1, true,
application.myRemoteConn);
The stream is created in FS1, and I can view it if I connect
to it with an SWF client. On the FS2 server (the server FS1 does a
NetConnection to), I can see a client connection in the Clients tab
but thats about it. If I try to connect to the FS2 server, there is
no stream displaying on the SWF client. (The SWF client just
contains a Video object which connects to the FS stream.)
Any ideas please? This may sound like a silly question, but
I'm fairly new to server side action script.
Does any one have any sample code? Is there an alternate
method of chaining a stream? I've thoroughly searched the docos but
no luck.
Thanks again.

hi jay,
Thanks for your prompt reply. Yes I was actually trying that
method aswell, obviously incorrectly. My AS code on the FS2 was
this:
application.onAppStart = function(){
trace("application start called. create server side
connection");
application.remConn = new NetConnection();
application.remConn.connect("rtmp://10.0.0.77/myapp"); //
this connects to the FS1 server where a stream
// called me_live is being published
application.remConn.onStatus = function (info) {
trace("info is "+info.code);
application.myStream = Stream.get("me_live"); // this stream
is being streamed by the SWF client with a camera.
// the stream is correctly being published. i could view
this with
// another SWF client that just retrieves the video
if (application.myStream){
trace("playing stream");
application.myStream.play("me_live", -1, -1, false,
application.remConn);
I know that theres quite a number of errors on the above
code. I would've figured though that the the Stream class has a
method to retrieve a remote stream, or even in the NetConnection
object (something like
application.remConn.Stream.get("streamname")) - but of course it
can't be that easy!! Is there way of doing this? Thanks again for
your help.

Similar Messages

  • Is it normal for my DL speeds to drop in half while streaming video off media server with E4200v2?

    I am on a 3MB plan and i noticed DL speeds drop quite a bit while the streaming from the media server?  is this normal?
    Also my Linsys ATA is on a static IP and when I review in Devices it will show offline though someone could be talking on the phone.  What would be causing this?
    Kind of new at all this stuff. Thanks in advance.

    There's a whole bunch of articles on the internet on DSL PPPoE MTU.  If you google "DSL MTU 1492", you'll probably find a lot better explanations than what I can give you....... 
    If you want to run the test in the link below, you'll find that 1464 is the mtu without fragmentation.  Then you add 28......and you'll get 1492.  
    http://homekb.cisco.com/Cisco2/ukp.aspx?pid=80&vw=1&articleid=386

  • Timecode/TimeStamp in RTMP live streaming using Adobe Media Server and FMLE

    HI There,
    Am trying to stream a video on to Adobe media server(using RTMP) through FMLE and play it on my web site using JWPlayer. i could stream the video successfully, but know i want to get the timestamp/timecode on the stream. does Adobe media server and FMLE support this kind of use-case ? if not is there any other way to achieve the same. any comments/suggestion/pointers appreciated .
    Thanks in Advance
    Regards
    Deepak

    If you're talking about nonstop, continuous streaming, your subscribing client will need to close and reconnect the stream every couple of days, as the server will run out of timestamps for the stream.

  • Streaming Webcam with media server and cs3

    Can someone explain how to stream a webcam with media server?
    Ive got media server and flash cs3 (actionscript 2.0 in this
    case) installed, and I want to create a live webcam stream, but Im
    not really sure how to do it. I know it involves NetStream, and
    camera somewhere along the line but thats about it. If someone coul
    give me an iea of how to o it that owul be much appreciated.
    Thanks

    Clockwork_Killa,
    I don't use it with webcams, but there are some nice examples
    in William Sanders book, Actionscript 3.0 Design Patterns. It's the
    only book I've found that has any real world examples of working
    with media in Flash with fms2.
    Hope it helps. Good luck. You're going to need it ;)

  • Double-byte Chinese characters between Flash Media Server and WebLogic 9.2

    i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <root>
    <response>
    <result>1</result>
    <reports >
    <test>x8054x901Ax6027x6D4Bx8BD5</test>
    </reports>
    </response>
    </root>
    the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
    <test>测试联通性</test>
    Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <root>
    <response>
    <result>1</result>
    <reports >
    <test>测试联通性</test>
    </reports>
    </response>
    </root>
    then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice.

    i have installed a FMS (Flash Media Server 4.0 developer edition) and a weblogic server on linux. The two servers communicate with each other via WebService (Axis2 on Weblogic 9.2). i can send some XML message from FMS to the Weblogic server and receive message. but the returned message from the Weblogic server is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <root>
    <response>
    <result>1</result>
    <reports >
    <test>x8054x901Ax6027x6D4Bx8BD5</test>
    </reports>
    </response>
    </root>
    the returned messages between the <test> and </test> tag can be decoded to "测试联通性" in Chinese via utf-8. why not the returned messages just show the result as :
    <test>测试联通性</test>
    Later i made another test: copy the war file in weblogic server to a apache-tomcat server, then the FMS send XML message to apache-tomcat and got the correct message as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <root>
    <response>
    <result>1</result>
    <reports >
    <test>测试联通性</test>
    </reports>
    </response>
    </root>
    then what is the problem with my weblogic? what shall i do to solve the problem? thank you for anyone who gives me some advice.

  • How to record a live camera stream inside Adobe Media Server?

    I am using Adobe Flash Builder 4.6 with Adobe Media Server Extended 5. I am streaming my webcam in Adobe Media Server ("rtmp://localhost/live") successfully. I need to record and save this live video inside Adobe Media Server.
    Could you suggest me how I can record a live webcam streaming inside my server?
    Thanks in advance
    Martin

    I am using Adobe Flash Builder 4.6 with Adobe Media Server Extended 5. I am streaming my webcam in Adobe Media Server ("rtmp://localhost/live") successfully. I need to record and save this live video inside Adobe Media Server.
    Could you suggest me how I can record a live webcam streaming inside my server?
    Thanks in advance
    Martin

  • Live Video streaming with Adobe Media Server

    Problem:
    I have 10mbit up/down internet connection. I will do video streaming a live meeting to around 350-400 live watchers
    So i can't use regular streaming to all watchers. Then each user will have 3kb/sec rate which is a terrible speed.
    Solution:
    here what I understand about Multicasting.
    I have a dedicated server with 1gbit dedicated port.
    I will only stream my video to dedicated server and the watchers will be getting data directly from dedicated server which have 1gbit port.
    Can I do this with adobe media server?

    Hi
    You can refer the following documentation around multi point publishing:
    http://livedocs.adobe.com/flashmediaserver/3.0/docs/help.html?content=01_overview_basics_3 6.html
    http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d5 6e-7ffb.html
    Let us know if you face any issues.
    -Karishma

  • Streaming from Flash Media Server into Captivate

    Hi
    We're fortunate to have a Flash Media Server (4) which we use to distribute video over our local network using Flash CS5 and have encountered no problems. However, when I try to use it for Captivate 5 files I've had no success (same with 4 incidentally). I've tried just about every string I can think of with no ext., with the ext, f4v's, flv's, /mp4:, different folders/ no folders (vod) etc etc. There must be something fundamentally wrong with what I'm doing but for the life of me I can't think what. The Media server currently delivers video over our Intranet and we also use it for Adobe Connect. Any help in this matter will be appreciated.
    My string is rtmp://breezefms2/vod/<nameofvideo> (no ext.)

    Hi Crozzer,
    We have published a blog post detailing the formats to be used for streaming video.
    I would suggest you to have a look at the blog post : http://blogs.adobe.com/captivate/2011/03/workaround-for-video-streaming-issues-in-captivat e.html and try out the streaming formats mentioned.
    Please incorporate the URI changes mentioned in the blog post and let us know if streaming video works for you.
    Thanks
    Ashwin Bharghav B
    Adobe Captivate Team

  • E4200v2 video streaming lag from media server

    When I try to stream a movie through the media server or through my computer to my xbox 360 the video will play fine for a couple minutes then it well get choppy and then the sound will not sync with the picture. I have the latest firmware and reset it also. Tried switching channels and changed mtu didn't do anything. tried steaming on 2 different xboxs and its the same thing.

    You can try the following combination of settings:-
    A] With the help of Cisco Connect Software (if at all you have installed the router with the help of this software)
              1] Open the software and go to the option which says "Router Settings"
              2] Then click on the option which says "Advanced Settings" which will take you to the router's configuration page.
             3] Then click on Security tab disable SPI Firewall Protection, uncheck Filter Anonymous Internet Requests...
             4] Then click on QoS under Application and Gaming tab and disable WMM
    B] If you haven't installed Cisco Connect then you can log on to the router's user interface using it's default IP address in the browser which is 192.168.1.1 and type in 'admin' as the password leaving the user name field blank. This will take you to the router's web interface and then follow steps as mentioned above to make the changes.
    Then check the connectivity status…

  • Audio only aus hds Stream mit Adobe Media Server

    Hallo zusammen,
    ich soll aus einer hds-File die audio only mit dem Adobe Media Server generieren. Leider finde ich nichts in der Doku dazu. Könntet ihr mir vielleicht helfen. Bin echt am verzweifeln.
    Vielen Dank im Voraus
    Sven

    Hi
    Doing the best I could with Google translate have you read the documentation here:
    Adobe Media Server Help | Stream live media (HTTP)
    thanks.

  • Record every received Stream using Adobe Media Server

    We have a platform implementing CometChat product, this producto has Audio Video Chat, using RTMP stream, we rent Influxis.com service because they offered to record each streaming from CometChat AVChat, we want to know if its possible to achieve this using Adobe Media Server, because CometChat request a lot of money to record them, so, we need to know if this is possible just buying the Adobe Media Server, because we have our own Virtual Server, so we can Install it there and use it, but we want to know if there is something that need tos do CometChat, because that things will cost a lot for us.
    Please, any help would be great, its really Urgent, our site its in use now, and we need to record every stream because our site manages children interactivity, so, because of security this its really urgent.
    Thanks in advance.
    Mike

    Dear sir or madam,
    Here is Letswin Technology, which specializes in global servers, web hosting, VPS, VPN. If anything I can do for you, pls contact us!
    Have a nice day!

  • Streaming with Flash Media Server

    Hello all,
    I'm new user in Flash Media Server. I installed it in a Red
    Hat Enerprise 4 but i am not able in create no steaming file. I'm
    be simple. What have i to do in order to create a simple atream
    flash video? I don`t have any idea on where i havve to put the
    video, where i have to put the swf file, how i create a fls who
    communicate with my server...
    Please help me,
    Thanks for all,
    Mauricio Barreto

    Hello Mauricio -
    There is probably several ways to do this, but being sort of
    new with FMS2 too, I'll give you the way that I'm currently using
    it. Both my Web server and FMS2 are on the same computer.
    You FMS2 installation created a /fms/ directory.
    for FLV files - /fms/applications/ and then I've created sub
    directories under here for each FLV file. So, for example, the full
    directory path for one of my FLV files
    /fms/applications/lemurs/streams/_definst_/lemurs.flv
    The "main.asc" file needs to go here too -
    /fms/applications/lemurs/main.asc (for the example above).
    for SWF files - put these on your Web server side.
    When you make your SWF files you will reference your FLV
    'source' (in 'parameters tab' in Flash) as
    "rtmp:/lemurs/lemurs.flv" - again, if your Web server and FMS2 is
    on the same computer. You can also do
    "rtmp://UR.IP.AD.RES/lemurs/lemurs.flv" - for example,
    "rtmp:/192.168.1.1/lemurs/lemurs.flv"
    I hope this helps some.
    Donavan

  • Record playback is very slow between Flash Media Server and Flash

    hi all
    I have done server side recording successfully with red5 flash media server and can see
    that the flv record is being created properly.
    Then if I try to playback the record like
    NetStream.play("record.flv"), I see that stream playing is very very
    slow, for both of audio and video.
    And then if I try to playback the recorded file via using the
    filesystem path of it, everthing seems fine.
    Problem occurs when I try to sucscribe and play the stream of the record.
    PS : There is no problem with playing the published stream
    (NetStream.play("streamName"))
    Does anyone have an idea about this issue?
    If you need any additional information, please let me know.
    Thanks in advance
    Regards

    In a nutshell flowplayer delivers the video through your web
    browser. It does this via http protocol (port 80) and progressive
    download on any web server
    Progressive download finds the video on the server and plays
    it back through the player as it is being downloaded. 2 important
    things to take from this are 1, the video is being downloaded to
    the clients hard drive, at the end of the playback they will have a
    copy of your video that they can do whatever they like to and
    repost it somewhere else. 2, It plays back as it downloads, meaning
    if I'm viewing a 10 minute video from your site and want to skip
    ahead to the middle or end I have to wait for the whole video to
    download before viewing those segments. Your web host by the way
    will love you for progressive download because it will appear as
    though your transfer rate has gone through the roof. Once the
    request for the video is made there is no turning back, the client
    gets the whole thing whether they watch it or not.
    Flash media server uses the rtmp protocol. This protocol is
    an open socket protocol through port 1935. This is a two way street
    essentially. When the user views a video using FMS they basically
    get only enough of the video to keep the connection open and
    satisfy the required buffer to assure clean playback. The bytes of
    info that carry the video only go to the users memory, not the hard
    drive. This allows the user to jump back and forth around in the
    movie without having to wait for the whole thing to download.
    Hope that helps.

  • How can I put video stream on flash media server on to website running on IIS7?

    We are encoding live video feed using Flash Live Media Encoder and publishing it using Flash Media Server. Is there any documentation on how I can put this publishing point on a website running on IIS7?

    Sorry - but not very clear what you are trying to achieve here - can you please elaborate what you want to do?

  • Live Streaming with flash media server

    Hi,
    i am installing flash media server 5.0. And its working perfect locally, I need to publish my video through my own IP address. How can i configure local to server

    Thanks for the response
    I m having Flash Media Server 4.5 . It works correctly in localhost. I want to make it online. I found a way, that place public ip address on the fms.ini file. I did it, but it does not work for me. How to fix this?

Maybe you are looking for

  • How to print Field name with value of a Class object?

    hi, In C#, I need to print a class field or property name with value without using reflection or string.join method. For eg. protected void Button1_Click(object sender, EventArgs e) List<EmployeeInfo> obj = new List<EmployeeInfo>(); obj.Add(new Emplo

  • No mobileme gallaries showing up in Iweb?

    None of my mobileme albums or movies are showing up in IWeb. The pages that had photos or movies from my gallery are there but if you click on them in IWeb they go away and it says I need to upload items to my gallery. anyone have any ideas about thi

  • Converting outlook email message to pdf

    When converting email messages from outlook 2007, the default initial view is "fit width", but I cannot find a setting to change this to "fit page", so I have to reset each conversion and save.  I changed the acrobat X preferences to "fit page", but

  • Supplier balances belonging to the respective liability account.

    Hi All, Can any one help us to know ,from which tables we can extract data for "supplier balances belonging to the respective liability account on an "as of date"". Standard reports are based on system date will provide the date. For example: If my s

  • Output condition record

    Hi All I have made changes with the printer in VV22 for an output type, but when the user creates a delivery its still routed to the old printer, Is there any where else I need to make the changes. Please guide thanks C