trunk/research/players/js/srs.page.js
// Special extra params, such as auth_key.
Special extra params, such as auth_key.
Special extra params such as auth_key .
function user_extra_params(query, params) {
    var queries = params || [];
    for (var key in query.user_query) {
        if (key === 'app' || key === 'autostart' || key === 'dir'
            || key === 'filename' || key === 'host' || key === 'hostname'
            || key === 'http_port' || key === 'pathname' || key === 'port'
            || key === 'server' || key === 'stream' || key === 'buffer'
            || key === 'schema' || key === 'vhost' || key === 'api'
        ) {
            continue;
        }
        if (query[key]) {
            queries.push(key + '=' + query[key]);
        }
    }
    return queries;
}
function user_extra_params ( query , params ) { var queries = params || [ ] ; for ( var key in query . user_query ) { if ( key === 'app' || key === 'autostart' || key === 'dir' || key === 'filename' || key === 'host' || key === 'hostname' || key === 'http_port' || key === 'pathname' || key === 'port' || key === 'server' || key === 'stream' || key === 'buffer' || key === 'schema' || key === 'vhost' || key === 'api' ) { continue ; } if ( query [ key ] ) { queries . push ( key + '=' + query [ key ] ) ; } } return queries ; }
Special extra params, such as auth_key.
Special extra params such as auth_key .