wrtc.onJoinGroup() is called when we have received an invitation to a group call.
You do not need to write any wrtc.onJoinGroup() function in order to make group calls - only if you want to make limitations to the automatic group call sequence.
wrtc.onJoinGroup(arg):