Hi,
I am trying to implement my own customised hangup functionality whenever user clicks on hang up button. Could someone please help me with the approach to achieve this without any code changes or minimal code changes.
Some of the below approaches are that I have in mind,
- Subclass AbstractHangupButton class and implement my custom hangup button and use the same instead of default one
- Create ref to the hangup button and override the onclick event with my custom implementation
Please suggest me a optimised solution for this
Thanks