Ejemplo n.º 1
0
 /**
  * Stop all the playbacks
  */
 public function stop()
 {
     foreach (array_reverse($this->playbacks) as $playback) {
         try {
             $this->phparia->playbacks()->stopPlayback($playback);
         } catch (\Exception $ignore) {
         }
     }
 }
Ejemplo n.º 2
0
 /**
  * Stop all the playbacks
  */
 public function stop()
 {
     foreach (array_reverse($this->playbacks) as $playback) {
         try {
             $this->phparia->playbacks()->stopPlayback($playback->getId());
         } catch (\Exception $ignore) {
             // Don't throw exception if the playback does not exist
         }
     }
 }