private function ffprobeHasAudio()
	{
		if (isset($this->metadata['streams']))
		{
			foreach ($this->metadata['streams'] as $streamIndex => $stream)
			{
				if (isset($stream['codec_type']) && $stream['codec_type'] === "audio")
				{
					return $streamIndex;
				}
			}
		}

		return false;
	}
private function ffprobeHasAudio()
	{
		if (isset($this->metadata['streams']))
		{
			foreach ($this->metadata['streams'] as $streamIndex => $stream)
			{
				if (isset($stream['codec_type']) && $stream['codec_type'] === "audio")
				{
					return $streamIndex;
				}
			}
		}

		return false;
	}
private function ffprobeHasAudio ( ) { if ( isset ( $ this -> metadata [ 'streams' ] ) ) { foreach ( $ this -> metadata [ 'streams' ] as $ streamIndex => $ stream ) { if ( isset ( $ stream [ 'codec_type' ] ) && $ stream [ 'codec_type' ] === "audio" ) { return $ streamIndex ; } } } return false ; }
Check our metadata for an audio stream.

@return boolean|int  Int if video stream index found (CAN BE 0), false if none
Check our metadata for an audio stream .