- add streamId on screenshare logs
This commit is contained in:
parent
69f8567c5e
commit
e16123f979
@ -187,13 +187,18 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
}
|
||||
|
||||
private function handleStartShareRequestSuccessEvent(event:StartShareRequestSuccessEvent):void {
|
||||
|
||||
var logData:Object = UsersUtil.initLogData();
|
||||
logData.session = ScreenshareModel.getInstance().session;
|
||||
logData.streamId = ScreenshareModel.getInstance().streamId;
|
||||
logData.tags = ["screenshare"];
|
||||
logData.logCode = "screenshare_request_success";
|
||||
LOGGER.warn(JSON.stringify(logData));
|
||||
}
|
||||
|
||||
private function handleScreenShareShareStoppedEvent(event:ShareStoppedEvent):void {
|
||||
var logData:Object = UsersUtil.initLogData();
|
||||
logData.streamId = stream;
|
||||
logData.reason = event.reason;
|
||||
logData.session = ScreenshareModel.getInstance().session;
|
||||
logData.streamId = ScreenshareModel.getInstance().streamId;
|
||||
logData.tags = ["screenshare"];
|
||||
logData.logCode = "screenshare_end_reason";
|
||||
LOGGER.warn(JSON.stringify(logData));
|
||||
@ -235,7 +240,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
if (paused) {
|
||||
var logData:Object = UsersUtil.initLogData();
|
||||
logData.tags = ["screenshare"];
|
||||
logData.streamId = stream;
|
||||
logData.session = ScreenshareModel.getInstance().session;
|
||||
logData.streamId = ScreenshareModel.getInstance().streamId;
|
||||
logData.logCode = "screenshare_paused";
|
||||
LOGGER.warn(JSON.stringify(logData));
|
||||
|
||||
@ -267,7 +273,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
var logData:Object = UsersUtil.initLogData();
|
||||
logData.tags = ["screenshare"];
|
||||
logData.streamId = stream;
|
||||
logData.session = ScreenshareModel.getInstance().session;
|
||||
logData.streamId = ScreenshareModel.getInstance().streamId;
|
||||
logData.logCode = "screenshare_start_sharing";
|
||||
logData.token = authToken;
|
||||
LOGGER.warn(JSON.stringify(logData));
|
||||
|
Loading…
Reference in New Issue
Block a user