JitsiMeetJS.events.conference.TRACK_ADDED was not triggered when a user initiated screenshare

I have written the following function

track => {

                    if ( !track.isLocal()) {
                        alert("track added");

Alert comes when conference is started. But it does not come when screen share is initiated. Please help

Hello @puneet_mahendra , can you share code snippet of how you are initiating screen share?