-
Notifications
You must be signed in to change notification settings - Fork 14
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
Implement Raise Your Hand Feature #367
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #367 +/- ##
==========================================
+ Coverage 73.28% 73.90% +0.61%
==========================================
Files 67 67
Lines 3070 3161 +91
Branches 692 710 +18
==========================================
+ Hits 2250 2336 +86
- Misses 737 746 +9
+ Partials 83 79 -4 ☔ View full report in Codecov by Sentry. |
@@ -22,6 +22,7 @@ const PinBtn = styled(Button)(({ theme }) => ({ | |||
|
|||
function PublisherRequestTab(props) { | |||
const conference = useContext(ConferenceContext); | |||
const theme = useTheme(); | |||
|
|||
const getPublisherRequestItem = (videoId) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use stream id.
sx={{ minWidth: "unset", pt: 1, pb: 1 }} | ||
onClick={() => {conference?.approveBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item.streamId !== videoId))}} | ||
onClick={() => {conference?.approveBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item !== videoId))}} | ||
> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do removal in approveBecomeSpeakerRequest method in Antmedia.js
sx={{ minWidth: "unset", pt: 1, pb: 1 }} | ||
onClick={() => {conference?.rejectSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item.streamId !== videoId))}} | ||
onClick={() => {conference?.rejectBecomeSpeakerRequest(videoId); conference?.setRequestSpeakerList(conference?.requestSpeakerList.filter((item) => item !== videoId))}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do removal in approveBecomeSpeakerRequest method in Antmedia.js
react/src/pages/AntMedia.js
Outdated
setIsPlayOnly(false); | ||
setInitialized(false); | ||
setWaitingOrMeetingRoom("waiting"); | ||
joinRoom(roomName, publishStreamId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we call join room directly. Wait in waiting room.
test/test_webinar.py
Outdated
@@ -690,97 +690,7 @@ def test_multiple_player(self): | |||
|
|||
self.chrome.close_all() | |||
|
|||
def test_request_to_speak(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor and add this in to webinar tests
ant-media/Ant-Media-Server#6127