Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
balazskreith committed Nov 18, 2024
1 parent a379f2b commit a19f458
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion media-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@observertc/sfu-monitor-js": "^2.0.0",
"@types/ws": "^8.2.2",
"events": "^3.3.0",
"hamok": "^2.6.1-cfdc615.0",
"hamok": "^2.6.1-7ab70c1.0",
"ioredis": "^5.4.1",
"jsonwebtoken": "^9.0.0",
"kafkajs": "^2.2.4",
Expand Down
6 changes: 5 additions & 1 deletion media-server/src/services/HamokService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,11 @@ export class HamokService extends EventEmitter<HamokServiceEventMap> {
})
;


(this.eventEmitter.subscriptions as any).on('debug', (message: string) => {
logger.debug(message);
this._stateLogs.push(message);
});

await this.eventEmitter.subscribe('client-sample', (message) => {
this.emit('client-sample', message);
});
Expand Down
2 changes: 1 addition & 1 deletion media-server/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ h264-profile-level-id@^2.0.0:
"@types/debug" "^4.1.12"
debug "^4.3.4"

hamok@^2.6.1-cfdc615.0:
hamok@^2.6.1-7ab70c1.0:
version "2.6.1-fee52c2.0"
resolved "https://registry.yarnpkg.com/hamok/-/hamok-2.6.1-fee52c2.0.tgz#44e1fa9b5ca8f4626c6d40aef9f4357b1b56d94e"
integrity sha512-XBAZUyycHPqsmkimCR1Jz1fbnH0D1PYXWqS7Icl4eB8Rue6hf8dO50Ga1Hhl7cKmSlOwfaLVQ7GfpVJOHSU7dQ==
Expand Down

0 comments on commit a19f458

Please sign in to comment.