Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttt
Teleteaching Standalone
Commits
6fa79877
Commit
6fa79877
authored
May 21, 2019
by
Administrator
Browse files
removing audio level check window when recorder is closed
parent
d94725e5
Pipeline
#1850
passed with stage
in 25 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
java/ttt/Recorder.java
View file @
6fa79877
...
...
@@ -489,9 +489,10 @@ public class Recorder implements MessageConsumer, Closeable {
out
.
close
();
out
=
null
;
}
if
(
file
!=
null
)
TTT
.
userPrefs
.
put
(
"last_opened_recording"
,
file
.
getCanonicalPath
());
System
.
out
.
println
(
"Recorder stop."
);
TTT
.
verbose
(
"Recorder stop."
);
}
...
...
java/ttt/player/Player.java
View file @
6fa79877
...
...
@@ -490,6 +490,7 @@ public class Player extends JInternalFrame {
if
(
lectureProfile
.
isRecordEnabled
())
{
recorder
=
new
Recorder
(
protocol
,
lectureProfile
);
closeables
.
add
(
recorder
);
TTT
.
debug
(
"Adding recorder to closeables"
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
@@ -617,10 +618,13 @@ public class Player extends JInternalFrame {
public
void
close
()
{
// close everything
for
(
int
i
=
0
;
i
<
closeables
.
size
();
i
++)
for
(
Closeable
c
:
closeables
)
try
{
closeables
.
get
(
i
).
close
();
}
catch
(
Exception
e
)
{}
c
.
close
();
}
catch
(
Exception
e
)
{
TTT
.
debug
(
"Exeption while running over closables: "
+
e
.
toString
());
}
closeables
.
clear
();
dispose
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment