Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bigbluebutton/bigbluebutton
Browse files Browse the repository at this point in the history
  • Loading branch information
ritzalam committed Dec 3, 2010
2 parents a01541e + 3261a66 commit 02970d2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ public String getListenStreamName() {
}

public void startTalkStream(IBroadcastStream broadcastStream, IScope scope) throws StreamException {
log.debug("Starting userListenSteam");
userListenStream.start();
log.debug("userTalkStream setup");
userTalkStream.start(broadcastStream, scope);
log.debug("userTalkStream Started");
}

public void stopTalkStream(IBroadcastStream broadcastStream, IScope scope) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,14 @@ public void stop() {
}
rtpStreamReceiver.stop();
log.debug("Stopped RTP Stream Receiver for {}", listenStreamName);
audioBroadcastStream.stop();
log.debug("Stopped audioBroadcastStream for {}", listenStreamName);
audioBroadcastStream.close();
log.debug("Closed audioBroadcastStream for {}", listenStreamName);
if (audioBroadcastStream != null) {
audioBroadcastStream.stop();
log.debug("Stopped audioBroadcastStream for {}", listenStreamName);
audioBroadcastStream.close();
log.debug("Closed audioBroadcastStream for {}", listenStreamName);
} else
log.debug("audioBroadcastStream is null, couldn't stop");
log.debug("Stream(s) stopped");
}

public void start() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ package org.bigbluebutton.modules.phone.managers

public function initMicrophone():void {
mic = Microphone.getMicrophone();
mic = null;

if(mic == null){
initWithNoMicrophone();
} else {
Expand Down Expand Up @@ -198,7 +198,7 @@ package org.bigbluebutton.modules.phone.managers
}

public function stopStreams():void {
LogUtil.debug("Stoping Streams");
LogUtil.debug("Stopping Stream(s)");
if(incomingStream != null) {
LogUtil.debug("--Stopping Incoming Stream");
incomingStream.play(false);
Expand All @@ -215,6 +215,7 @@ package org.bigbluebutton.modules.phone.managers
}

isCallConnected = false;
LogUtil.debug("Stopped Stream(s)");
}

private function netStatus (evt:NetStatusEvent ):void {
Expand Down

0 comments on commit 02970d2

Please sign in to comment.