Skip to content

Commit

Permalink
Fix some yarn problems
Browse files Browse the repository at this point in the history
  • Loading branch information
roznawsk committed Sep 30, 2024
1 parent 31a946e commit 82d91eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ts-client/src/webrtc/webRTCEndpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,13 @@ export class WebRTCEndpoint<EndpointMetadata = any, TrackMetadata = any> extends
.map((mid) => this.local.getTrackByMidOrNull(mid))
.filter((localTrack) => localTrack !== null)
.forEach((localTrack) => {
const trackContext = localTrack.trackContext;
const trackContext = localTrack!.trackContext;

trackContext.negotiationStatus = 'done';

if (trackContext.pendingMetadataUpdate) {
const mediaEvent = generateMediaEvent('updateTrackMetadata', {
trackId: localTrack.id,
trackId: localTrack!.id,
trackMetadata: trackContext.metadata,
});
this.sendMediaEvent(mediaEvent);
Expand Down

0 comments on commit 82d91eb

Please sign in to comment.