Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

trackRemoved function not called when someone leaves the room ( IOS SDK )

Open USAMAWIZARD opened this issue 1 year ago • 0 comments

Short description

trackRemoved is not called when someone leaves the room , if there are three people in the room and one left the room we want to know who left the room so that we can do some clean up regarding that.

func trackRemoved(track:RTCMediaStreamTrack)

https://github.com/ant-media/WebRTC-iOS-SDK/blob/cc447a4066be82c3268450779e10e7f88f5b00f6/WebRTCiOSSDK/api/webrtc/WebRTCClientDelegate.swift#L33-L34

Environment

  • Operating system and version:
  • Java version:
  • Ant Media Server version:
  • Browser name and version:

Steps to reproduce

  1. 3 people join in the room
  2. one leave the room
  3. trackRemoved should be triggered

Expected behavior

trackRemoved should be triggered

Actual behavior

trackRemoved is not getting triggered

Logs

Place logs on pastebin or elsewhere and put links here

Ask your questions on Ant Media Github Discussions

USAMAWIZARD avatar Dec 29 '23 16:12 USAMAWIZARD