Monthly Archives: March 2015

Slowy app Real-world connection simulator and bandwidth limiter

So anyone working with web knows that websites speed – and internet speeds – are important to retain clients/visitors.

I probably gonna start to work with a client from Colombia – not drugs related – that needs to ensure that his website and content is optimized to his main clients – colombian people – who at the top, have 2Mb internet connection – and I might need to limit my internet connection to that speed (and lower) to study the website strangulation.

I will use Slowy app Real-world connection simulator and bandwidth limiter.

slowyapp

Continue reading Slowy app Real-world connection simulator and bandwidth limiter

MPEG-DASH – Dynamic Adaptive Streaming over HTTP

Some references to MPEG-DASH.

Dynamic Adaptive Streaming over HTTP (DASH), also known as MPEG-DASH
In Wikipédia

 

MPEG-DASH — technology of the new generation, allow to broadcast the adaptive video stream. The data broke into fragments and are transfer to the client on the protocol of HTTP. It allowed to transfer reliably video through exist HTTP инфрастуктуру, to overcome the proxy server, and also without serious consequences to transfer problems with a network, changes of network addresses itd.

DASH — Dynamic Adaptive Streaming over HTTP. The standard of DASH ISO/IEC 23009-1:2012 were develop by group of MPEG in 2011The technology of MPEG-DASH as a whole are similarto other known technology of HLS (HTTP Live Streaming) which is develop by the company of Apple and widely us on mobile devices with iOS and Android. The flow are present in the form of small fragments on duration and the playlist (manifesto) contain meta data of a flow and the reference to fragments.

In MPEG-DASH in nginx-rtmp-module: live video in the browser without flesh

 

Some links

PHP Browser language detection

This is how….

<?php
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
switch ($lang){
    case "pt":
        echo "Browser lang PT!";
        break;
    case "it":
        echo "Browser IT";
        break;
    case "en":
        echo "Browser lang EN";
        break;        
    default:
        echo "Browser lang EN - Setting Default";
        break;
}
?>

 

Kurento, some installation experiences

This are my experiences in a fresh VPS @ digitalocean.

So, I’m trying to run kurento following their tutorials.

  1. http://kurento.com/docs/current/installation_guide.html
  2. http://kurento.com/docs/current/tutorials/java/tutorial-3-one2many.html

The program ‘git’ is currently not installed.

root@kurento:/home# git clone https://github.com/Kurento/kurento-tutorial-java.git
The program 'git' is currently not installed. You can install it by typing:
apt-get install git

The program ‘mvn’ can be found in (not installed)

root@kurento:/home/kurento-tutorial-java/kurento-one2many-call# mvn compile exec:java
The program 'mvn' can be found in the following packages:
 * maven
 * maven2
Try: apt-get install <selected package>

Lets install it with apt-get install maven.

Continue reading Kurento, some installation experiences