feat: 更新背景脚本和内容脚本,添加录制控制消息处理,优化录制状态检查逻辑,新增消息常量
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export const messages = {
|
||||
content: {
|
||||
from: {
|
||||
|
||||
},
|
||||
to: {
|
||||
startRecording: 'content:start-recording',
|
||||
stopRecording: 'content:stop-recording',
|
||||
}
|
||||
},
|
||||
offscreen: {
|
||||
to: {
|
||||
startRecording: 'offscreen:start-recording',
|
||||
stopRecording: 'offscreen:stop-recording',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user