Skip to content

Commit

Permalink
chore: optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Dec 17, 2024
1 parent 705c053 commit 23e8d7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions source_code/agora_node_ext/agora_electron_bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ AgoraElectronBridge::DisableVideoFrameCache(napi_env env,
napi_obj_get_property(env, obj, "uid", config.uid);
napi_obj_get_property(env, obj, "sourceType", config.video_source_type);
napi_obj_get_property(env, obj, "channelId", channelId);
napi_obj_get_property(env, obj, "position", config.observed_frame_position);
strcpy(config.channelId, channelId.c_str());

char result[kBasicStringLength];
Expand Down
11 changes: 1 addition & 10 deletions ts/Private/extension/AgoraMediaBaseExtension.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
import '../AgoraMediaBase';

declare module '../AgoraMediaBase' {
interface VideoFrame {
/**
* @ignore
*/
hasAlphaBuffer?: boolean;
}
}
export {};

0 comments on commit 23e8d7b

Please sign in to comment.