Jitsi screen share stops itself, when page changes/redirects

When this function is called,

this.router.navigateByUrl("..")

the jitsi screen share automatically stops.

Could anyone help me with this?