CC-4370: Transitioning between two webstreams a hiccup in the stream is audible

-some major refactoring before fixing this problem
This commit is contained in:
Martin Konecny 2012-09-07 17:38:24 -04:00
parent 6c8d602518
commit d20c450226
6 changed files with 161 additions and 102 deletions

View file

@ -5,7 +5,7 @@ class RabbitMqPlugin extends Zend_Controller_Plugin_Abstract
public function dispatchLoopShutdown()
{
if (Application_Model_RabbitMq::$doPush) {
$md = array('schedule' => Application_Model_Schedule::getScheduledPlaylists());
$md = array('schedule' => Application_Model_Schedule::getSchedule());
Application_Model_RabbitMq::SendMessageToPypo("update_schedule", $md);
if (!isset($_SERVER['AIRTIME_SRV'])) {
Application_Model_RabbitMq::SendMessageToShowRecorder("update_recorder_schedule");