Skip to content

WIP: Agora integrationn #413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
1aa9f11
agora integration initial setaup
freddysundowner Oct 7, 2023
cf0fac6
Small fixes to make it running locally
Oct 7, 2023
6ca3d4d
v
freddysundowner Oct 9, 2023
82c198b
Merge branch 'agora-integrationn' of https://github.com/lowcoder-org/…
freddysundowner Oct 9, 2023
5017338
renaming refactoring of the components
freddysundowner Oct 9, 2023
d1050eb
more meeting components name refactoring fixes
freddysundowner Oct 9, 2023
db0753f
initial-participants listview with videos
freddysundowner Oct 10, 2023
26a980a
implemented user leaving the call and removing the user from the list…
freddysundowner Oct 12, 2023
36de39c
added sharing of screen
freddysundowner Oct 12, 2023
834c825
refactored control buttons
freddysundowner Oct 12, 2023
5472d95
fixed button data fields
freddysundowner Oct 13, 2023
b808ac9
added styling of the video component
freddysundowner Oct 13, 2023
e62d64c
added meeting name to the meeting controller data field
freddysundowner Oct 13, 2023
34a001e
fixed video component styling
freddysundowner Oct 13, 2023
c78a54c
added video stream controller events
freddysundowner Oct 14, 2023
84c9749
fixed styling for VideoStream Component
Oct 15, 2023
c278c6d
finished audio/mute event on video stream component
freddysundowner Oct 16, 2023
a02fd07
Merge branch 'agora-integrationn' of https://github.com/lowcoder-org/…
freddysundowner Oct 16, 2023
d131b71
Feat: video toggle event
freddysundowner Oct 16, 2023
2dd01e5
Feat: video click event
freddysundowner Oct 16, 2023
03b21f0
refactored/cleaned the code
freddysundowner Oct 17, 2023
7420095
Fix: audio echo on the local user
freddysundowner Oct 18, 2023
447dd8e
Merge branch 'dev' into agora-integrationn
FalkWolsky Oct 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
more meeting components name refactoring fixes
  • Loading branch information
freddysundowner committed Oct 9, 2023
commit d1050eb93a134705d793e82043c9cca3f6afece8
93 changes: 0 additions & 93 deletions client/packages/lowcoder-design/src/components/Meeting.tsx

This file was deleted.

43 changes: 0 additions & 43 deletions client/packages/lowcoder-design/src/components/meeting.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions client/packages/lowcoder-design/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export * from "./components/Collapase";
export * from "./components/CustomModal";
export * from "./components/Drawer";
export * from "./components/Meeting";
export * from "./components/Drawer";
export * from "./components/Dropdown";
export * from "./components/ExternalLink";
export * from "./components/GlobalInstances";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import {
} from "comps/comps/containerComp/containerView";
import { AutoHeightControl } from "comps/controls/autoHeightControl";
import { BoolControl } from "comps/controls/boolControl";
import {
StringControl,
} from "comps/controls/codeControl";
import { StringControl } from "comps/controls/codeControl";
import {
booleanExposingStateControl,
jsonObjectExposingStateControl,
Expand Down Expand Up @@ -94,7 +92,6 @@ function transToPxSize(size: string | number) {
return isNumeric(size) ? size + "px" : (size as string);
}


let client: IAgoraRTCClient = AgoraRTC.createClient({
mode: "rtc",
codec: "vp8",
Expand Down Expand Up @@ -461,7 +458,7 @@ MTComp = withMethodExposing(MTComp, [
},
]);

export const VideoCOntrollerComp = withExposingConfigs(MTComp, [
export const VideoMeetingControllerComp = withExposingConfigs(MTComp, [
new NameConfig("visible", trans("export.visibleDesc")),
new NameConfig("appId", trans("prop.appid")),
new NameConfig("participants", trans("prop.participants")),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ VideoCompBuilder = class extends VideoCompBuilder {
};


export const VideoMeetingComp = withExposingConfigs(VideoCompBuilder, [
export const VideoMeetingStreamComp = withExposingConfigs(VideoCompBuilder, [
new NameConfig("loading", trans("button.loadingDesc")),
...CommonNameConfig,
]);
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/comps/hooks/hookComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { MessageComp } from "./messageComp";
import { ThemeComp } from "./themeComp";
import UrlParamsHookComp from "./UrlParamsHookComp";
import { UtilsComp } from "./utilsComp";
import { VideoCOntrollerComp } from "../comps/meetingComp/videoControllerComp";
import { VideoMeetingControllerComp } from "../comps/meetingComp/videoMeetingControllerComp";

window._ = _;
window.dayjs = dayjs;
Expand Down Expand Up @@ -95,7 +95,7 @@ const HookMap: HookCompMapRawType = {
message: MessageComp,
localStorage: LocalStorageComp,
modal: ModalComp,
meeting: VideoCOntrollerComp,
meeting: VideoMeetingControllerComp,
currentUser: CurrentUserHookComp,
urlParams: UrlParamsHookComp,
drawer: DrawerComp,
Expand Down
8 changes: 4 additions & 4 deletions client/packages/lowcoder/src/comps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ import { AutoCompleteComp } from "./comps/autoCompleteComp/autoCompleteComp";
//Added by Aqib Mirza
import { JsonLottieComp } from "./comps/jsonComp/jsonLottieComp";
import { ResponsiveLayoutComp } from "./comps/responsiveLayout";
import { VideoMeetingComp } from "./comps/meetingComp/videoStreamComp";
import { VideoMeetingStreamComp } from "./comps/meetingComp/videoMeetingStreamComp";
import { VideoControlButton } from "./comps/meetingComp/videoControlButton";
import { VideoCOntrollerComp } from "./comps/meetingComp/videoControllerComp";
import { VideoMeetingControllerComp } from "./comps/meetingComp/videoMeetingControllerComp";

type Registry = {
[key in UICompType]?: UICompManifest;
Expand Down Expand Up @@ -565,7 +565,7 @@ const uiCompMap: Registry = {
categories: ["meeting"],
icon: VideoCompIcon,
keywords: trans("meeting.meetingCompKeywords"),
comp: VideoMeetingComp,
comp: VideoMeetingStreamComp,
withoutLoading: true,
},
meetingcontrols: {
Expand Down Expand Up @@ -781,7 +781,7 @@ const uiCompMap: Registry = {
categories: ["meeting"],
icon: DrawerCompIcon,
keywords: trans("meeting.meetingCompKeywords"),
comp: VideoCOntrollerComp,
comp: VideoMeetingControllerComp,
withoutLoading: true,
},
carousel: {
Expand Down
2 changes: 1 addition & 1 deletion client/packages/lowcoder/src/comps/uiCompRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface UICompLayoutInfo {

export const uiCompCategoryNames = {
common: trans("uiCompCategory.common"),
meeting: trans("uiCompCategory.meeting"),
meeting: trans("meeting.meeting"),
dataInputText: trans("uiCompCategory.dataInputText"),
dataInputNumber: trans("uiCompCategory.dataInputNumber"),
dataInputSelect: trans("uiCompCategory.dataInputSelect"),
Expand Down
4 changes: 2 additions & 2 deletions client/packages/lowcoder/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,6 @@ export const en = {
},
uiCompCategory: {
common: "Commonly used",
meeting: "Meeting Settings",
dataInputText: "Text inputs",
dataInputNumber: "Number inputs",
dataInputSelect: "Select inputs",
Expand Down Expand Up @@ -1436,7 +1435,8 @@ export const en = {
height: "Drawer height",
},
meeting: {
placement: "Drawer placement",
placement: "Meeting placement",
meeting: "Meeting Settings",
size: "Size",
top: "Top",
right: "Right",
Expand Down