Skip to content
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

feat: share emoji's in video conferencing #12

Merged
merged 8 commits into from
Oct 13, 2023

Conversation

lokesh-wagh
Copy link

@lokesh-wagh lokesh-wagh commented Oct 12, 2023

Description

I have fixed some bug's that were preventing the deployment of the project's
I have fixed send friend invitation (no invite was being sent)

then i have added a component to pick emoji's

i have also enabled json data to be transferred over P2P connection (which i have used for sharing emoji's)

in the first few files i have just replaced process.env with my own secret string so that newcomer's don't get thrown with a lot of error's

then in backend/socketServer file i have made the server listening to the port that it was supposed to listen at

then in frontend/src/Dashboard/FriendsSideBar/AddFriendButton.js i have added a method that would actually send the invite to the backend

frontend/src/Dashboard/FriendsSideBar/AddFriendButton.js here i have added the actual emoji sidebar

frontend/src/Dashboard/Room/RoomButtons/emojiButton.js here the emoji tray has been added that can be used to send various emoji's

frontend/src/Dashboard/Room/RoomButtons/RoomButtons.js
here i have added the Emoji Picker to room button's so that it can be accesible

in frontend/src/Dashboard/Room/VideosContainer.js i have added a new styled div by the name of VideoWrapper
this div contain's both the div that is displaying the emoji and the video as well

frontend/src/realtimeCommunication/socketConnection.js i have stored the socket id in localstorage for access later

in frontend/src/realtimeCommunication/webRTCHandler.js i have added a exchange data event to all the peer's and three method's

handleExchangeData : facilitate's the exchange of data through peer's
AddEmoji : add's the emoji to it's right video container and also remove's it from there after 2s
getPeer's : return's the active peer's object

Related Issue

Fixes #7
Closes #7

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Motivation and Context

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Screenshots (if appropriate):

Checklist:

  • I have registered myself at Contrihub website.
  • My code follows the code style of this project.
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • Any dependent changes have been merged and published in downstream modules
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

@lokesh-wagh
Copy link
Author

lokesh-wagh commented Oct 12, 2023

@silkie261001
Mam the PR is not complete yet i just wanted you to suggest some styling
like where should the shared emoji's appear

then i will apply those styling and complete the pr

@lokesh-wagh
Copy link
Author

here's the progress so far

webrtc.mp4.webm

@silkie261001
Copy link
Collaborator

silkie261001 commented Oct 13, 2023 via email

@lokesh-wagh
Copy link
Author

i have a pop up for picking emoji's
should i add a bar below with some commonly used emoji's??

@silkie261001
Copy link
Collaborator

silkie261001 commented Oct 13, 2023 via email

@lokesh-wagh
Copy link
Author

and where should the sent emoji pop??

@silkie261001
Copy link
Collaborator

silkie261001 commented Oct 13, 2023 via email

@lokesh-wagh
Copy link
Author

screen-capture.5.webm

added the bar

@lokesh-wagh
Copy link
Author

@silkie261001
the PR is ready for review now

i have explained all the change's by updating the first comment of the PR thread

@lokesh-wagh
Copy link
Author

@silkie261001
i have sent link for the pr on sac website

@silkie261001 silkie261001 merged commit f5803e8 into ContriHUB:main Oct 13, 2023
@lokesh-wagh
Copy link
Author

Thank you for guidance mam!!

@silkie261001
Copy link
Collaborator

silkie261001 commented Oct 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to react with emojis during livestream.
2 participants