/** @syncpriority 200 */ public synchronized void stopRebroadcast() { if (!rebroadcasting) throw new SeekInnerCalmException(); rebroadcasting = false; log.info("Ceasing rebroadcast for stream " + streamId); // If we are broadcasting, it means we completed our reception and // became a broadcaster - so keep our broadcast conns alive, and don't // de-advertise ourselves if (!broadcasting) { streamConns.closeAllBroadcastConns(); deadvertiseStream(); } }
/** @syncpriority 200 */ public synchronized void stopBroadcast() { if (!broadcasting) throw new SeekInnerCalmException(); broadcasting = false; deadvertiseStream(); streamConns.closeAllBroadcastConns(); }