Thanks for all of your many quick replies.
Yes, I’ve already seen several topics. Here is what I have known about it from this topic - How to get real time audio streams of both Calling party and called party independently - #5 by shamnusln.
- Get the bridgeId of the current active call
- Take each channels in that bridge
- For each channel, create a snoopChannel.
- Then, create an externalMedia channel, corresponds to each snoopChannel.
- Finally create a new bridge and add these externalMedia channels to this bridge.
Regarding the step 1, should I get the bridge id from bridge list using setInterval and then go to the next step from there?