|
@@ -34,13 +34,13 @@ export default class ActionsHandler {
|
|
|
|
|
|
await this.beforeSend(actionData);
|
|
|
const traceId = util.uuid();
|
|
|
+ // 向后端发送action_type信息,获取signal和stream
|
|
|
this.room.networkController.sendRtcData(le(oe({}, actionData.data), {
|
|
|
trace_id: traceId,
|
|
|
user_id: this.room.options.userId
|
|
|
}));
|
|
|
|
|
|
- if (actionData.track === !1)
|
|
|
- {
|
|
|
+ if (actionData.track === !1) {
|
|
|
return Promise.resolve(null);
|
|
|
}
|
|
|
|