Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jan 12, 2024
1 parent 3dd782f commit 1de1072
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/internal/AgoraMediaBaseInternal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { IVideoFrameMetaInfo, MetaInfoKey } from '../AgoraMediaBase';
import { IVideoFrameMetaInfoImpl } from '../impl/AgoraMediaBaseImpl';

export class VideoFrameMetaInfoInternal extends IVideoFrameMetaInfoImpl {
private _VideoFrameMetaInfo: IVideoFrameMetaInfo | undefined;
private _videoFrameMetaInfo: IVideoFrameMetaInfo | undefined;
constructor(videoFrameMetaInfo: IVideoFrameMetaInfo | undefined) {
super();
this._VideoFrameMetaInfo = videoFrameMetaInfo;
this._videoFrameMetaInfo = videoFrameMetaInfo;
}

override getMetaInfoStr(key: MetaInfoKey): string {
// @ts-ignore
return this._VideoFrameMetaInfo?.[key];
return this._videoFrameMetaInfo?.[key];
}
}

0 comments on commit 1de1072

Please sign in to comment.