Parsed: 112300

  private static function getDefaultStreamInfo($streams)
  {
    $stream = array();
    foreach (array_reverse($streams) as $stream) {
      if ($stream['default']) {
        break;
      }
    }

    $unset = array('default', 'name');
    foreach ($unset as $u) {
      if (isset($stream[$u])) {
        unset($stream[$u]);
      }
    }

    $info = $stream;
    $info['streams'] = $streams;

    return $info;
  }