Open emmanuel-D opened 6 days ago
Hi,
About 1, this is not reproducible in the sample app. Have you customised the CallContent view or not using it. This might be the cause here. Can you please share it
About 2, You can disable it through Dashboard. Navigate to Video & Audio -> Call Types -> <Your Call Type>
. Then you can toggle Camera on by Default
and Microphone on by Default
About 3, Sorry I dont understand what you mean here. But check out https://github.com/react-native-webrtc/react-native-incall-manager. Speaker management in React Native is done through this library.
@santhoshvai Hi 👋,
I don't use the CallContent
component at all, I only use CallParticipantList
and have created my custom Header and Footer components from scratch.
const {
useParticipants,
} = useCallStateHooks();
const participants = useParticipants();
{ // Room is joined and live
callingState === CallingState.JOINED &&
<>
<CurrentLiveRoomHeader/>
<View style={[AppStyles.container]}>
<CallParticipantsList
participants={participants}
/>
</View>
<CurrentLiveRoomFooter/>
</>
}
Please check this video to see it: https://github.com/user-attachments/assets/b2e1ddce-e4ed-475c-94d5-0d6be23f0ef4
@santhoshvai , Hi, any updates on this based on my CallParticipantsList
usage ?
Which package/packages do you use?
@stream-io/video-react-sdk
@stream-io/video-react-native-sdk
@stream-io/video-client
Describe the bug I am currently integrating the React Native SDK in my app and so far everything is easy. I am using the Expo Dev Client.
The 1st issue is that the
ShareScreenButton
is not displaying the video stream when pressed, although on Android the native Prompt Popup warning before starting the screenshare is displayed. After accepting the sharing, no participant is seeing nothing being shared. No error is thrown in the console logs.2nd is how to auto-disable the video and mic (audio) when joining the call ?
3rd is how to toggle Speakers on real Device in order to use laud-speakers instead of low-speakers ?
Below are some of my code snippets:
To Reproduce Steps to reproduce the behavior:
-----
ScreenShareToggleButton.tsx
----
CallView.tsx
----
app.json
(Expo DEV Client)plugins
entry----
Call.tsx
(Where User can join call) inside anuseEffect hook
Expected behavior After starting the screen-share, the
<ParticipantView/>
component should display the shared stream. But currently nothing shows-upScreenshots VIDEO EXPLAINING THE BUG https://github.com/user-attachments/assets/b2e1ddce-e4ed-475c-94d5-0d6be23f0ef4
SDK Version
Env: React Native
Node JS client
22 LTS
Additional context Add any other context about the problem here.