Skip to content

Commit

Permalink
Prepare version
Browse files Browse the repository at this point in the history
  • Loading branch information
oanguenot committed May 17, 2021
1 parent 5cccf96 commit 9ab1713
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webrtcmetrics",
"version": "1.1.4",
"version": "1.2.0",
"description": "WebRTC stats library",
"main": "dist/webrtcMetrics.js",
"scripts": {
Expand Down
8 changes: 7 additions & 1 deletion src/utils/helper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { v4 as uuidv4 } from "uuid";

export const getLibName = () => ("WebRTCMetrics");
export const getVersion = () => ("1.1.4");
export const getVersion = () => ("1.2.0");

export const getDefaultMetric = () => (
{
Expand Down Expand Up @@ -37,6 +37,8 @@ export const getDefaultMetric = () => (
delta_bytes_sent: 0,
decoder: null,
encoder: null,
delta_ms_encode_frame: 0,
delta_ms_decode_frame: 0,
},
network: {
infrastructure: 3,
Expand Down Expand Up @@ -112,6 +114,10 @@ export const PROPERTY = {
WRITABLE: "writable",
DECODER_IMPLEMENTATION: "decoderImplementation",
ENCODER_IMPLEMENTATION: "encoderImplementation",
FRAMES_DECODED: "framesDecoded",
FRAMES_ENCODED: "framesEncoded",
TOTAL_DECODE_TIME: "totalDecodeTime",
TOTAL_ENCODE_TIME: "totalEncodeTime",
};

export const VALUE = {
Expand Down

0 comments on commit 9ab1713

Please sign in to comment.