Modifying StrobeMediaPlayback to choose closest server to request stream from

Hello and thanks in advance for any help here.
I am looking for a way to modify SMP to intelligently decide what server to request a stream from. Basically it needs to act as a sort of primitive geographic-based load balancing solution. I've downloaded the SMP source and haven't been able to identify where exactly it initializes a netconnection and netstream. If anyone would have information about this or anything else that would lead me closer to implementing this modification, it would be greatly appreciated.
Thanks a lot.

Thanks for the replies. I added the following lines:
     strm.streamInfo.append = true;
The problem now is that if I set the stream type to DVR in the Strobe player, I get the following odd behavior for video from FMLE:
     With autoPlay enabled in the player
Video only plays properly about one in 20 playback attempts; the rest of the time it shows up as a black video.
When it does play properly, it plays from the live point in the video and shows the cursor in the "live" area of the scrub bar as it should
     With autoPlay disabled in the player
Video appears to play properly
It shows that it's at the "live" point in the scrub bar, but it insists on playing the video from the beginning
In addition to those issues, the code changes above don't seem to fix the crazy video durations when recording and playing back from the VBrick (e.g. 268 hours when it's only a few minutes). Assuming I could actually get the videos to record and playback with DVR controls from FMLE (which I am becoming increasingly doubtful of this right now), is there a way to have the server insert the timecode or whatever is missing so it doesn't get so confused? I've looked at the logs and added more trace statements and it appears to be using a reasonable startRec time so this might be some sort of missing VITC timecode issue.
I still find it extremely hard to believe that I'm the only person trying to record to and playback video with DVR controls from FMS without an explicit DVR record start/stop and that I'm also the only person doing it from other video sources besides FMLE. What am I missing? Why is this so hard?
The DVR app from Wowza combined with Wowza Media Server provided this functionality of the box and the only reason we're not 100% sold on using that as our solution is that we can't get the live latency down below 20sec because it can only do HTTP out instead of RTMP out.

Similar Messages

  • Get IP of server where request came from

    Here's the scenario:
    User is browsing website A, hosted in server A.
    He clicks on a link that opens website B, hosted in server B.
    Server B should "skip" authentication only if the request came from server A.
    My question is, from the code in website B, how do I retrieve the IP or hostname where the request came from? Basically I need to find out if the request came from server A (not some other server).
    Any help will be appreciated. Thank you.

    If you want to use programmatic security, then this might work in servlet/jsp:
    //i think this returns the full url.
    String refText = request.getHeader("referer");
    String ip = null;
    if(refText != null){ url = new;
         String host = url.getHostname();
         ip =;

  • SharePoint Search is failed when request comes from one front end server

    Hello colleagues!
    I have a SharePoint 2013 farm with 3 server: batch, wfe 1, wfe 2
    Search topology includes batch and wfe 1 servers.
    So when search request comes from wfe 1 search service works fine. When search request comes from wfe 2 search service is failed.
    In logs there is an error:
    A failure was reported when trying to invoke a service application: EndpointFailure Process Name: w3wp Process ID: 16556 AppDomain Name: /LM/W3SVC/234569039/ROOT-4-130544984716198913 AppDomain ID: 6 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:9d3cd1b87fc848c0b7bbbfb95a7fd7a0#authority=urn:uuid:08a793bc71b54dfcb7f0cf2d6cc35c4f&authority=https://wfe2:32844/Topology/topology.svc
    Active Endpoints: 1 Failed Endpoints:1 Affected Endpoint:
    I have gone through the link
    http://batch:32843/9d3cd1b87fc848c0b7bbbfb95a7fd7a0/SearchService.svc It works from any server and any workstation except wf2
    When I open the link on server wfe2 I get:
    HTTP Error 503. The service is unavailable.
    Please help to understand what is wrong.
    Thank you for your help

    Hi Anna,
    Is this issue resolved?
    Is there anything update about this issue?
    Best regards.
    Victoria Xia
    TechNet Community Support

  • "Failed to open package file ..." when modifying job step on remote server

    I have SSIS package setup on a remote SQL Server to run on schedule via SQL Server Agent. It was setup initially by remote desktop-ing to the server and connecting to it via SSMS running on the same machine where SQL Server is running. Package source is
    "File System" and absolute path is specified (D:\Folder1\Package1.dtsx). There is just one step in the job - to run SSIS package. Everything works as it should.
    Now I want to modify this job - change number of retry on failure attempts. I can successfully connect to this SQL Server instance via SSMS from my developer workstation. I can then go to "Advanced Settings" for this job step and change "Retry attempts"
    to some other number. However, when I press "OK" I get this error message:
    TITLE: SSIS Execution Properties
    Failed to open package file "D:\Folder1\Package1.dtsx" due to error 0x80070003 "The system cannot find the path specified.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can
    be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
    Failed to open package file "D:\Folder1\Package1.dtsx" due to error 0x80070003 "The system cannot find the path specified.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can
    be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.
    Interestingly enough, in spite of this error message the number of retries is successfully changed.
    I understand it happens because SSMS tries to locate package on my local hard drive and the same folder doesn't exist on my development PC. It still doesn't make sense to me. Does SSMS not know I am accessing remote server? How come I don't get any errors
    when I just execute this job via SSMS when SSMS runs on my development PC?

    Hi, Am facing same issue, but I am trying run SSIS package via C# code, I have given full access to all the folder in which the package is available.
    In the below line am getting error,
    using Microsoft.SqlServer.DTS.Runtime;
    Application app=new Application();
    Package package=null;
    package=app.LoadPackage("PackageFullPath",null) --error line
    Failed to open package file "C:\SSIS\Package.dtsx" due to error 0x800C0006 "The system
    cannot locate the object specified.".  This occurs when loading a
    package and the file cannot be opened or loaded correctly into the XML document
    full access to which account? also trying to run from where? In the same machine where package resides?
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are try

    hi i am getting this error.
    An error occurred at the server : Your request was cancelled due to an internal error on the Page Server. The object you are trying to view does not have the required property 'SI_FILES'. Please contact your system administrator
    please do the nedful.

    yeah Ted Ueda,
    what you are saying is correct. i am getting this output for
      report.getProgID() is CrystalEnterprise.Report.
    can you elaborate this. i am new to this. and also please let me know how to start and if u have any materials on this please forward to [email protected] and [email protected]
    please let me know which is best book for beginers.
    Thanks & Regards,
    Purushotham Podaralla

  • I have suddenly got the following message An (SMTP) error occurred while sending mail. The server responded: Requested action aborted: This mail account has se

    Having been on Thunderbird for some years I have suddenly got the following message when trying to send mail.
    An (SMTP) error occurred while sending mail. The server responded: Requested action aborted: This mail account has sent too many messages in a short amount of time. Please try later..
    I have checked the SMTP server settings in tools, account settings and they are as they have always been. Is there something I have missed?

    Sending through web mail is totally irrelevant to using an SMTP server. The message even says it is from the server. Why do you think this is a Thunderbird problem.
    The provider has put in place measures to keep people from spamming other email recipients using thier SMTP server. You have seen the result of those measures.

  • [RPC Fault faultString="HTTP/1.1 415 Unsupported Media Type" faultCode="Server.Proxy.Request.Failed"

    Posting in the 'General' forums as well. Did not yet get any response for the topic posted in the 'Configuration and Getting Started Discussion' forum.
    I am having nightmares to call the POST method of a REST service thru Flex. Initially tried with the HTTPService without any proxy server. Wasn't able to call POST, though the GET method was successfully called. Please see the post here ( -service-thru-flex/)
    b THEN I tried with BlazeDS
    , but with the same results!
    I have set up BlazeDS with the integrated Tomcat option. I have also set up the Flex project as mentioned in the instructions. It is working fine when I run the sample projects.
    But the problem is that
    i when I try to access a
    b POST for a REST service,
    i I get the "HTTP/1.1 415 Unsupported Media Type" fault.
    b The complete fault I'm getting is: [RPC Fault faultString="HTTP/1.1 415 Unsupported Media Type" faultCode="Server.Proxy.Request.Failed" faultDetail="HTTP/1.1 415 Unsupported Media Type"]
    at mx.rpc::AbstractInvoker/[E:\dev \3.1.0\frameworks\projects\rpc\src\mx\rpc\]
    at mx.rpc::Responder/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\ ]
    at mx.rpc::AsyncRequest/fault()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]
    at HTTPMessageResponder/resultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messagin g\channels\]
    at HTTPMessageResponder/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\]
    at ChannelRequestLoader/callEventCallback()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\mess aging\channels\]
    at ChannelRequestLoader/completeHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messag ing\channels\]
    I have added correct entry to the policy-config.xml (I know this because the GET for the same REST service is working).
    b Only the POST thing is giving me the fault!
    Appreciate any inputs. (am in need of 'em badly)

    My guess is that the Server/Rest service doesn't like the content type of the request. HTTPService uses a content type of application/x-www-form-urlencoded by default. Maybe the Rest service is expecting the request to be XML? If that's the case, you need to set the contentType property of the HTTPService to application/xml.
    Sometimes an HTTP sniffer/proxy such as Charles can be useful for debugging these kinds of issues. If my suggestion doesn't help, capture the HTTP request and response using a HTTP sniffer like Charles and post back to this thread with it and someone will take a look at it for you. Thanks.

  • HT202279 Choose your server from the list that appears

    I administer four Yosemites servers using OS X Server.
    Everytime I launch OS X Server I have to option to Continue, which I do not choose. But I never get a list of other Macs to Adminsiter. I always have to choose "Other Mac" and enter the URL, etc. This happens on two Macs running Yosemite and being used for administrating.
    Where is the list of other Macs? No matter how often I connect to them, they never show up and I can find nothing in the menus to add them.
    According to How to administer OS X Server remotely using Server App - Apple Support it should be there:
    The first time you open the Server app on your admin computer, do not click the Continue button in the "Welcome to Server" window. Instead, choose Connect to Server from the Manage menu.
    Choose your server from the list that appears, or click "Other Mac" and then click Continue.

    I should've noted that these are web servers in various locations. They would not show on Bonjour.
    I'd still expect Server to remember and list them, and certainly the documentation doesn't indicate it's a LAN only feature.

  • Server is requesting Authentication for.

    New in SAP XI. When i try to open the Integration Builder : Design Window , a pop up open asking for the User Authentication saying "Server is requesting Authentication for "
    Please tell the solution.
    Rajiv Kumar garg

    You have to Provide the Authenticated User & pwd to Login to  the Design part
    For Authorizations have a look at this

  • Why does Firefox use an unsigned server connection request before conneting to internet?

    <pre><i>Locking duplicate thread.
    Please continue here: [[/questions/979016]]
    When an application wants to make a connection to a server for internet or updates it presents a signed server connection request. Recently, in order to get Firefox to connect to the internet, I have to approve unsigned server connection requests even though I know unsigned requests are open to abuse from hackers. How can I get Firefox and other applications from reliable suppliers to issue SIGNED server connection request? Please help. Regards.


  • Modifying the credentials of SQL Server inside Netweaver

           Can any one please let me know how can I modify the credentials of SQL Server instance which comes by default with Netweaver?

    Are you are referring to the NW database, which stores all the NW and MII administrative files and uses the SID for the database name?  If so I would post this on the Netweaver Forum, as I am not sure of the implications of changing this password.

  • HT201320 Once I have downloaded email on my iPad the same is not downloaded on my laptop. Have tried all settings including choosing the setting DELETE FROM SERVER:NEVER and REMOVE FROM SERVER:NEVER

    Once I have downloaded email on my iPad the same is not downloaded on my laptop. Have tried all settings including choosing the setting DELETE FROM SERVER:NEVER and REMOVE FROM SERVER:NEVER

    Hey rbrylawski, just wanted to let you know that my ipad email problems have been solved. Called Apple Sup in OZ, I'm in NZ. Daniel Barber was the support tech from heaven!! I was about to return the ipad but solving this issue reset my faith in phone support.....perhaps until I call a differnet companys phone support eh? Anyhow, for reference the fix is below.  My accounts are all POP not IMAP, and the primary smtp server setting had defaulted to have SSL switched on and the port was set to 5XX (something, cant remember). Anyhow, SSL was switched off and the port was swithced to 25. VOILÀ!!  Settings/Mail, contacts, calendars/My POP mail account/smtp/primary server/ >>> server on, no username and password,  use SSL off,  no authentication,  Server Port 25  Thanks for having a crack at it. This might help when assisting another user. Cheers Tonino

  • How to issue a self-signed certificate to match Remote Desktop Gateway server address requested

    I have an RDG server named gw.domain.local with port 3389/tcp forwarded from
    Using RDGM snap-in I created a self-signed SSL certigicate with FQDN
    But when I connect over RDP from outside the local network I'm getting an error:
    Your computer can't connect to the computer because the Remote Desktop Gateway server address requested and the certificate name do not match
    Because certificate subject name is gw.domain.local indeed.
    So there question is: how to issue a certificate properly, or how to assign an existing one the name to match?

    Thanks for your post in Windows Server Forum.
    The certificate error which you are facing seems like certificate mismatch error, something like the security certificate name presented by the TS Gateway server does not match the TS Gateway name. You can try reconnecting using the FQDN name of the TS Gateway
    server. You can refer below article for more troubleshooting.
    TS Gateway Certificates Part III: Connection Time Issues related to TS Gateway Certificates
    And for creating a SSL certificate for RD gateway, you can refer beneath articles.
    1.  Create a Self-Signed Certificate for the Remote Desktop Gateway Server
    2.  Obtain a Certificate for the Remote Desktop Gateway Server
    Hope it helps!

  • How to solve "server.Error.Request" error while i am running this application every time

    hi friends,
               i am using flex 4 mxml web application with as3.while i am running my application i got the following error,
    i dont know how to solve that, any one help please?
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL:"]. URL:"]
        at mx.rpc::AbstractInvoker/[C:\autobuild\3.5.0\frameworks\projects\rpc\src\mx\rpc\AbstractInvok]
        at mx.rpc::Responder/fault()[C:\autobuild\3.5.0\frameworks\projects\rpc\ src\mx\rpc\]
        at mx.rpc::AsyncRequest/fault()[C:\autobuild\3.5.0\frameworks\projects\r pc\src\mx\rpc\]
        at DirectHTTPMessageResponder/errorHandler()[C:\autobuild\3.5.0\framewor ks\projects\rpc\src\mx\messaging\channels\]
    Looking for usefull suggession.
    Thanks and regards,

    If you are a developer , please post this in the developer forum, Thanks!

  • Unable to connect to the server to pull data from mysql

    I am novice working with Flash Builder 4 and I just created a test application which runs well in my computer pulling data from Mysql using PHP and populating a datagrid. But when I transfered it to the my hosting provider failed. I have been doing some modifications to the gateway.php and amf.config.ini to solve some of the issues. Now the application try to run but doesn't populate the data in the datagrid. I included a tracking point in my data service file to read the connections variables, but they come up in blank. I highly appreciate any help. Here are my gateway.php, amf.config.ini and the data service.
    ini_set("display_errors", 1);
    $dir = dirname(__FILE__);
    $webroot = $_SERVER['DOCUMENT_ROOT'];
    $configfile = "$dir/amf_config.ini";
    $fp = fopen("tracking.txt", "a");
    fwrite($fp, "1-config file " . $configfile . "\r\n");
    //default zend install directory
    $zenddir = $webroot. '/ZendFramework/library';
    //-$zenddir = $webroot;
    fwrite($fp, "2-default zendir" . $zenddir . "\r\n");
    //Load ini file and locate zend directory
    if(file_exists($configfile)) {
              $webroot = $arr['zend']['webroot'];
              $zenddir = $webroot. '/ZendFramework/library';
              $zenddir = $arr['zend']['zend_path'];
    fwrite($fp, "3-after zendir" . $zenddir . "\r\n");
    // Setup include path
    //add zend directory to include path
    // Initialize Zend Framework loader
    require_once 'Zend/Loader/Autoloader.php';
    //-require_once 'Autoloader.php';
    // Load configuration
    $default_config = new Zend_Config(array("production" => false), true);
    $default_config->merge(new Zend_Config_Ini($configfile, 'zendamf'));
    $amf = $default_config->amf;
    fwrite($fp, "4- configfile" . $dafault_config["production"] . "\r\n");
    // Store configuration in the registry
    Zend_Registry::set("amf-config", $amf);
    // Initialize AMF Server
    $server = new Zend_Amf_Server();
    if(isset($amf->directories)) {
         $dirs = $amf->directories->toArray();
         foreach($dirs as $dir) {
             // get the first character of the path.
             // If it does not start with slash then it implies that the path is relative to webroot. Else it will be treated as absolute path
             $length = strlen($dir);
             $firstChar = $dir;
             if($length >= 1)
                  $firstChar = $dir[0];
             if($firstChar != "/"){
                  // if the directory is ./ path then we add the webroot only.
                  if($dir == "./"){                  
                       $tempPath = $webroot . "/" . $dir;
    fwrite($fp, "5-temp path" . $tempPath . "=>" . "\r\n");
    fwrite($fp, "******************************************" . "\r\n");
    // Initialize introspector for non-production
    if(!$amf->production) {
         $server->setClass('Zend_Amf_Adobe_Introspector', '', array("config" => $default_config, "server" => $server));
            $server->setClass('Zend_Amf_Adobe_DbInspector', '', array("config" => $default_config, "server" => $server));
    // Handle request
    echo $server->handle();
    ;set the absolute location path of webroot directory, example:
    ;Windows: C:\apache\www
    ;MAC/UNIX: /user/apache/www
    ;-webroot =c:/wamp/www/
    webroot = /home/frutiexp/public_html
    ;set the absolute location path of zend installation directory, example:
    ;Windows: C:\apache\PHPFrameworks\ZendFramework
    ;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework
    ;zend_path = /home/frutiexp/public_html/ZendFramework
    amf.production = true
    *  README for sample service
    *  This generated sample service contains functions that illustrate typical service operations.
    *  Use these functions as a starting point for creating your own service implementation. Modify the
    *  function signatures, references to the database, and implementation according to your needs.
    *  Delete the functions that you do not use.
    *  Save your changes and return to Flash Builder. In Flash Builder Data/Services View, refresh
    *  the service. Then drag service operations onto user interface components in Design View. For
    *  example, drag the getAllItems() operation onto a DataGrid.
    *  This code is for prototyping only.
    *  Authenticate the user prior to allowing them to call these methods. You can find more
    *  information at <link>
    class CoursesService {
         var $username = "myusername";
         var $password = "mypassword"
         var $server = "localhost";
         var $port = "3306";
         var $databasename = "frutiexp_trainsur";
         var $tablename = "courses";
         var $connection;
          * The constructor initializes the connection to database. Everytime a request is
          * received by Zend AMF, an instance of the service class is created and then the
          * requested method is invoked.
         public function __construct() {
                $this->connection = mysqli_connect(
    $fp = fopen("./tracking.txt", "a");
    fwrite($fp, "1-service".  $databasename . " " . $username . "\r\n");
          * Returns all the rows from the table.
          * Add authroization or any logical checks for secure access to your data
          * @return array
         public function getAllCourses() {
              $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename");         
              $rows = array();
              mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
             while (mysqli_stmt_fetch($stmt)) {
               $rows[] = $row;
               $row = new stdClass();
               mysqli_stmt_bind_result($stmt, $row->cou_id, $row->cou_title, $row->cou_overview, $row->cou_objectives);
             return $rows;
          * Returns the item corresponding to the value specified for the primary key.
          * Add authroization or any logical checks for secure access to your data
          * @return stdClass

    Hello Jdesko,
    Thank you for you prompt response. Yes, I have changed the connections variables in my dataservice ( I didn't post real values). You are right, after all I didn't make changes on the gateway.php except to add some tracking points. The one that I changed is the amf.config,ini. The application runs without any error exceptions, but don't populate the datagrid. According with the tracing is stoping just when establishing the connection to the database. Please let me know if you have any other clue. thanks

Maybe you are looking for

  • Re : select-options in abap-objects program

    Dear friends,                   I want to give select-options in abap-objects program. How to give that.                              Thanking You with regards, Mani

  • MaxDB Connection Issue for Content Server

    Hi All, We have installed Content Server 6.40 on Windows 203 server. We are able to visit the Url http://host:port/ContentServer/ContentServer.dll?serverInfo But while creatng a repository i am facing issues..its throwing error that "HTTP error: 500

  • PDF Files now show up Pink

    Has anyone noticed that Some of there PDF Files are now showing up as Pink in IBooks after the IOS7 update?

  • Time Machine backup size mystery

    Today I used Time Machine to back up my Mac, as usual, to my external hard drive (1 TB). The backup was 160 GB. Yet my hard drive only has, er, 69 GB of data on it. So what was the other 91 GB that was backed up? Magic? Kittehs? Hopes and dreams? Gho

  • Nothing happens when trying to open an .ai while in Illustrator CC or loading an .ase, why?

    Just recently, Illustrator doesn't do anything when trying to open a file from the tool bar. In addition, when trying to load an .ase, selecting 'Other Library' does nothing. Why would this just now start doing this?