Problem by streaming big mp3-File

Ruprecht Helms <[email protected]> 05 Oct 2003 09:18:03 +0200
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
Hi,

how can I write a script that can stream me a big mp3-file. the file is
a cutting of a broadcastproduction and around 50 MB in Size.

By using an examplecode I get this error

Fatal error: Call to undefined function: streammp3() in
/usr/local/apache/htdocs/linuxsendung.php on line 4

Here the code:

<?
  $m = new SWFMovie();
  $m->setRate(12.0);
 
$m->streamMp3(fopen("http://home.mayn.de/rhelms/KULTURFORUM_LINUX.MP3",
"rb"));

  // 11.85 seconds at 12.0 fps = 142 frames
  $m->setFrames(141);

  header('Content-type: application/x-shockwave-flash');
  $m->output();
?>

How can I fix the problem.

Regards,
Ruprecht