mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: recording size in bytes from int to long (NumberFormatException)
parent
3b13177643
commit
add3ee5603
|
@ -71,8 +71,8 @@ public class RecordingInfoUtils {
|
||||||
return jsonFormat.get("duration").getAsDouble();
|
return jsonFormat.get("duration").getAsDouble();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getSizeInBytes() {
|
public long getSizeInBytes() {
|
||||||
return jsonFormat.get("size").getAsInt();
|
return jsonFormat.get("size").getAsLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getNumberOfStreams() {
|
public int getNumberOfStreams() {
|
||||||
|
|
Loading…
Reference in New Issue