Skip to content

Commit

Permalink
- move callback to inform client that call has ended
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Aug 28, 2014
1 parent 8c7b134 commit bd2f709
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion bbb-voice/src/main/java/org/bigbluebutton/voiceconf/red5/media/RtpStreamReceiver.java
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public void receiveRtpPackets() {
}
}
log.debug("Rtp Receiver stopped. Packet Received = " + packetReceivedCounter + "." );
if (listener != null) listener.onStoppedReceiving();
}

private boolean shouldDropDelayedPacket(RtpPacket rtpPacket) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,13 @@ public void stop() {
if (log.isDebugEnabled()) log.debug("Stopped audioBroadcastStream for {}", listenStreamName);
audioBroadcastStream.close();
if (log.isDebugEnabled()) log.debug("Closed audioBroadcastStream for {}", listenStreamName);
} else
} else {
if (log.isDebugEnabled()) log.debug("audioBroadcastStream is null, couldn't stop");
if (log.isDebugEnabled()) log.debug("Stream(s) stopped");
}

if (log.isDebugEnabled()) log.debug("Stream(s) stopped");

if (observer != null) observer.onStreamStopped();
}

public void start() {
Expand Down

0 comments on commit bd2f709

Please sign in to comment.