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
added meeting name to the meeting controller data field
  • Loading branch information
freddysundowner committed Oct 13, 2023
commit e62d64c85b58b30d62000158f1758381f791770a
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,10 @@ let MTComp = (function () {
videoSettings: jsonObjectExposingStateControl(""),
videoWidth: numberExposingStateControl("videoWidth", 200),
videoHeight: numberExposingStateControl("videoHeight", 200),
appId: withDefault(StringControl, trans("prop.appid")),
appId: withDefault(StringControl, trans("meeting.appid")),
participants: stateComp<JSONValue>([]),
host: stringExposingStateControl("host"),
meetingName: stringExposingStateControl("meetingName"),
};
return new ContainerCompBuilder(childrenMap, (props, dispatch) => {
const isTopBom = ["top", "bottom"].includes(props.placement);
Expand Down Expand Up @@ -316,7 +317,10 @@ let MTComp = (function () {
.setPropertyViewFn((children) => (
<>
<Section name={sectionNames.basic}>
{children.appId.propertyView({ label: trans("prop.appid") })}
{children.appId.propertyView({ label: trans("meeting.appid") })}
{children.meetingName.propertyView({
label: trans("meeting.meetingName"),
})}
{children.placement.propertyView({
label: trans("drawer.placement"),
radioButton: true,
Expand Down Expand Up @@ -417,7 +421,9 @@ MTComp = withMethodExposing(MTComp, [
comp.children.host.change(userId + "");
await publishVideo(
comp.children.appId.getView(),
"testsdaadasdsa",
comp.children.meetingName.getView().value == ""
? userId + "_meetingId"
: comp.children.meetingName.getView().value,
comp.children
);
},
Expand Down Expand Up @@ -449,9 +455,10 @@ MTComp = withMethodExposing(MTComp, [

export const VideoMeetingControllerComp = withExposingConfigs(MTComp, [
new NameConfig("visible", trans("export.visibleDesc")),
new NameConfig("appId", trans("prop.appid")),
new NameConfig("host", trans("prop.appid")),
new NameConfig("participants", trans("prop.participants")),
new NameConfig("appId", trans("meeting.appid")),
new NameConfig("host", trans("meeting.host")),
new NameConfig("participants", trans("meeting.participants")),
new NameConfig("meetingName", trans("meeting.meetingName")),
]);

export function agoraClient() {
Expand Down
6 changes: 4 additions & 2 deletions client/packages/lowcoder/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ export const en = {
showClear: "Show clear button",
showSearch: "Searchable",
defaultValue: "Default value",
participants: "Participants",
appid: "Application Id",
required: "Required field",
readOnly: "Read only",
readOnlyTooltip:
Expand Down Expand Up @@ -1439,6 +1437,10 @@ export const en = {
meeting: "Meeting Settings",
size: "Size",
top: "Top",
host: "Host",
participants: "Participants",
appid: "Application Id",
meetingName: "Meeting Name",
right: "Right",
bottom: "Bottom",
videoId: "Video Id",
Expand Down