You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
[
"@stream-io/video-react-native-sdk",
{
"enableScreenshare": true,
"appleTeamId": "XXXXXXXXXX"
}
],
[
"@config-plugins/react-native-webrtc",
{
"cameraPermission": "App requires camera access in order to capture and transmit video",
"microphonePermission": "App requires microphone access in order to capture and transmit audio"
}
]
---- Call.tsx(Where User can join call) inside an useEffect hook
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
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();constparticipants=useParticipants();{// Room is joined and livecallingState===CallingState.JOINED&&<><CurrentLiveRoomHeader/><Viewstyle={[AppStyles.container]}><CallParticipantsListparticipants={participants}/></View><CurrentLiveRoomFooter/></>}
@emmanuel-D I recommend to please trying out using CallContent first and then after doing your customisation. You can see the code of how CallContent component uses the CallParticipantsList component etc. Or customise CallContent using the props provided in the component.
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-up
Screenshots
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.
The text was updated successfully, but these errors were encountered: