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

First conference participant cannot receive the data channel messages #5667

Closed
mustafaboleken opened this issue Oct 9, 2023 · 8 comments
Closed
Assignees
Labels

Comments

@mustafaboleken
Copy link
Contributor

mustafaboleken commented Oct 9, 2023

The person who initially creates the room cannot send data through the channel, but the data from the other party falls to the receiver of the user who initiated the session. We conducted several tests related to the issue:

  • When we initiated the session from the iOS side and joined as the second participant from the iOS side, the person who initiated the session cannot send data to the participant through the channel. However, the participant can receive channel data.

  • We initiated the session from the iOS side, joined as the second participant from the iOS side, and then joined the session from the Web side as the third participant. In this case, the data of the iOS participant who initiated the session falls to the Web side, but it does not fall to the iOS side, which is the second participant.

  • We initiated the session from the iOS side, joined as the second participant from the Web side, and then joined the session from the iOS side as the third participant. In this case, there is no problem between iOS participants and the Web.

  • We initiated the session from the Web side and then connected as the second and third participants from the iOS side. In this scenario, we did not encounter any problems.

@FarhodKurbonov
Copy link

FarhodKurbonov commented Oct 9, 2023

This happens not only on iOS, but also on JS SDK on server version 2.6.4, although there was no such problem on 2.6.1.

@mustafaboleken mustafaboleken changed the title Data Channel issue on iOS SDK Data Channel issue Oct 10, 2023
@mustafaboleken
Copy link
Contributor Author

@FarhodKurbonov thanks for the information, we will make a general review about data channel pipeline.

@lastpeony
Copy link
Contributor

@mekya mekya self-assigned this Oct 30, 2023
@mekya
Copy link
Contributor

mekya commented Dec 3, 2023

Hi @mustafaboleken,

Gentle reminder: please write reproduce scenario for the issues step by step if possible, it makes life easy for the developer and it also makes life easy for the reviewer.

Regards
Oguz

@mekya mekya changed the title Data Channel issue First conference participant cannot receive the data channel messages Dec 3, 2023
@e-vural
Copy link

e-vural commented Dec 4, 2023

hi @mekya

I will explain all datachannel problems in 1 hour

@e-vural
Copy link

e-vural commented Dec 4, 2023

hi @mekya @mustafaboleken

Actually @mustafaboleken explanied very well above. I will extend the scenarios.

IOS

  • Participant A —> WEB or IOS or Android no matter.
  • Participant B —> IOS

A join the room as first person.

  • B (IOS) cannot get signal if we send with A’s streamId.
  • But, if we send signal B’s streamId , both side get signal. And also, B (IOS) side get same signal 2 times.

B join the room as first person.

  • No problem for 2 sides. But, if we send signal with A’s streamId then A get 2 times signal. Same scenario for B side.

Summarize

  • IOS only get signal , if signal send own streamId.

ANDROID

Exactly opposite scenario for Android.

  • Participant A —> WEB or IOS or Android no matter.
  • Participant B —> Android

A join the room as first person.

  • No problem for 2 sides. But, if we send signal with A’s streamId then A get 2 times signal. Same scenario for B side.

B join the room as first person.

  • B (Android) cannot get signal if we send with A’s streamId.
  • But, if we send signal B’s streamId , both side get signal. And also, B (Android) side get same signal 2 times.

Summarize

  • Android only get signal , if signal send other streamId.

What do we need?

  • We want to send signal to room. I will send a signal to room and all room participant will get one time signal.

That is really complicated. If you need more information , we can set a meeting.

@mekya
Copy link
Contributor

mekya commented Dec 4, 2023

hi @e-vural,

Thank you for explanation. There is an opportunity to make the things simple. Check the bug template.

In its simplest form, I've reproduced the problem in this way

 1.⁠ ⁠Join the conference call from iOS app that is created with iOS SDK
 2.⁠ ⁠⁠Join the same room from Web Browser
 3.⁠ ⁠⁠Send data channel message in iOS app

Expected
Data channel message should be received by web browser

Actual
Data channel message is not received by web browser

This bug is fixed and snapshot is ready. It's about data channel creation for the first/second attendee.

We want to send signal to room. I will send a signal to room and all room participant will get one time signal.

I think with the latest fix, it should be resolved. Let's schedule a meeting to demonstrate it to you and understand if we miss anything. You can even test it in advance with the latest snapshot. You can download "Latest Unstable Release" or something similar from your account at antmedia.io. It should be under Subscriptions > Download

@mustafaboleken, could you please schedule a meeting?

Regards
Oguz

@mustafaboleken
Copy link
Contributor Author

Hi @mekya,
Sure, I will schedule a meeting.

@mekya mekya closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

5 participants