/** * @param $broadcast * @param $channel * @return bool */ public function isBroadcasting(LiveBroadcast $broadcast, BaseChannel $channel) { return $this->broadcastId === $broadcast->getBroadcastId() && $this->channelId === $channel->getChannelId(); }
/** * @param BaseChannel $channel * * @return $this */ public function removeOutputChannel(BaseChannel $channel) { $this->outputChannels->remove($channel); return $this; }