cleanup
This commit is contained in:
parent
4f74ecfc47
commit
24264a15b0
1 changed files with 0 additions and 5 deletions
|
@ -24,8 +24,6 @@ if (isProduction) {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Analytics = {
|
type Analytics = {
|
||||||
appStartTime: number, // needed?
|
|
||||||
eventStartTime: any, // needed?
|
|
||||||
error: (string) => Promise<any>,
|
error: (string) => Promise<any>,
|
||||||
sentryError: ({} | string, {}) => Promise<any>,
|
sentryError: ({} | string, {}) => Promise<any>,
|
||||||
pageView: (string, ?string) => void,
|
pageView: (string, ?string) => void,
|
||||||
|
@ -171,9 +169,6 @@ async function sendWatchmanData(body) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const analytics: Analytics = {
|
const analytics: Analytics = {
|
||||||
appStartTime: 0, // ?
|
|
||||||
eventStartTime: {}, // ?
|
|
||||||
|
|
||||||
// receive buffer events from tracking plugin and save buffer amounts and times for backend call
|
// receive buffer events from tracking plugin and save buffer amounts and times for backend call
|
||||||
videoBufferEvent: async (claim, data) => {
|
videoBufferEvent: async (claim, data) => {
|
||||||
amountOfBufferEvents = amountOfBufferEvents + 1;
|
amountOfBufferEvents = amountOfBufferEvents + 1;
|
||||||
|
|
Loading…
Reference in a new issue