Comments (3)
I just tried to start a screenshare from web SDK and run the React Native SDK on Android and, on the RN side, I properly receive the EVENT_CONFERENCE_STREAM_ADDED
event and the EVENT_CONFERENCE_STREAM_REMOVED
event when the screenshare stops. @dannyBies could you please provide some logs when you reproduce this issue.
from comms-sdk-react-native.
I have just tested it again and we are not receiving any events related to screenshare.
A couple of conferences where we reproduced this issue:
ID: 95e76ecc-9691-4f60-9fe2-7f9de562b436
Alias: Stage|9fcbfcfa-2933-4010-87dd-04d4609f5970|8c627ebf-475f-437b-a6c0-34bb88fffe1f
ID: 0f6f12f9-5d0d-4abd-84fe-5380dbdb7516
Alias: Stage|9fcbfcfa-2933-4010-87dd-04d4609f5970|562338b4-9d54-4dae-8f41-623734895fad
The logs for every onStreamsChange
and onParticipantsChange
event coming in on RN:
LOG 10:37:14.924Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "INACTIVE",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:14.947Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.020Z | DEBUG : ~~~~~~~~ onStreamsChange EVENT_CONFERENCE_STREAM_ADDED
{
"stream": {
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_00000000-0000-0000-0000-000000000000"
},
"participant": {
"type": "USER",
"audioTransmitting": false,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_00000000-0000-0000-0000-000000000000"
}
],
"status": "UNKNOWN",
"id": "00000000-0000-0000-0000-000000000000"
}
}
LOG 10:37:15.069Z | DEBUG : ~~~~~~~~ onStreamsChange EVENT_CONFERENCE_STREAM_ADDED
{
"stream": {
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
},
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": false,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.174Z | DEBUG : ~~~~~~~~ onStreamsChange EVENT_CONFERENCE_STREAM_UPDATED
{
"stream": {
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
},
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": true,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
],
"status": "CONNECTING",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.204Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": true,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
],
"status": "CONNECTING",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.254Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "UNKNOWN",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTING",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:15.366Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "UNKNOWN",
"audioTransmitting": false,
"streams": [],
"status": "INACTIVE",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:15.429Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": true,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.488Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "f1fdbac0-2d55-4943-bbe8-f2f18e1af0b2"
},
"type": "LISTENER",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTED",
"id": "70198506-3b32-3efe-aa9b-f80b54200574"
}
}
LOG 10:37:15.564Z | DEBUG : ~~~~~~~~ onStreamsChange EVENT_CONFERENCE_STREAM_UPDATED
{
"stream": {
"videoTracks": [
"{6873a95f-923b-44ad-9fbb-6ff0b9941921}"
],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
},
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": true,
"streams": [
{
"videoTracks": [
"{6873a95f-923b-44ad-9fbb-6ff0b9941921}"
],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:15.586Z | console | WARN : `new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.
LOG 10:37:15.591Z | console | WARN : `new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.
LOG 10:37:31.073Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "INACTIVE",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:31.125Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
{
"stream": {
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_00000000-0000-0000-0000-000000000000"
},
"participant": {
"type": "USER",
"audioTransmitting": false,
"streams": [
{
"videoTracks": [],
"type": "CAMERA",
"audioTracks": [],
"id": "0_camera_00000000-0000-0000-0000-000000000000"
}
],
"status": "UNKNOWN",
"id": "00000000-0000-0000-0000-000000000000"
}
}
LOG 10:37:31.474Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "INACTIVE",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:31.511Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
LOG 10:37:31.704Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"externalId": "Mixer_rts",
"name": "Mixer"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "INACTIVE",
"id": "a6669982-e236-35bb-b921-4f6b11fa6a4d"
}
}
LOG 10:37:31.762Z | DEBUG : ~~~~~~~~ onParticipantsChange EVENT_CONFERENCE_PARTICIPANT_UPDATED
{
"participant": {
"info": {
"avatarUrl": "avatarUrl/default-avatars/8.png",
"externalId": "f9db83f2-9c2f-47c6-8ec4-4b77ca71cf44",
"name": "DannyGetStream"
},
"type": "USER",
"audioTransmitting": false,
"streams": [],
"status": "CONNECTED",
"id": "5c86937a-f50f-3c3b-b8d0-fcbae99278b3"
}
}
from comms-sdk-react-native.
The problem seems related to #159 with the error:
ERROR RemoteDescriptionError - Unable set remote SDP for Peer: 70198506-3b32-3efe-aa9b-f80b54200574 :: Failed to set remote offer sdp: Failed to set remote video description send parameters for m-section with mid='screenshare'.
I will close this ticket and keep the work in the other one.
from comms-sdk-react-native.
Related Issues (20)
- Clean up `Join conference screen`
- Incorrect return type of AudioPreview.stop() method
- Investigate use of expo flow
- In conference screen create a show drawer button
- In conference screen remove the name list
- In conference screen move buttons to the bottom
- In the example app navigation should driven by and enum or state pattern
- Investigate warning Excessive number of pending callbacks... HOT 1
- Move the "Test buttons" button to the bottom of the screen
- Add `Mixer_Mix` on `ParticipantType in Android + RN.
- Add the `ListenType` enum and implement the listenType accessors in Android + RN
- Add `setAllParticipantsVolume()` for Android + RN
- Add `setAllParticipantsVolume()` for iOS
- Add `setVolume(p: Participant)` for Android + RN
- Add `setVolume(p: Participant)` for iOS
- Add `setVolume(s: Stream)` for Android + RN
- Add `setVolume(s: Stream)` for iOS
- Add the `ListenType` enum and implement the listenType accessors in iOS
- Add `Mixer_Mix` on `ParticipantType in iOS
- Error trying to build for Android on latest version of React Native (0.73.0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comms-sdk-react-native.