# Source Map Loading Error and Zoom Media Sharing Initialization Issue in Angular (Mac Safari & Firefox)

**URL:** <https://devforum.zoom.us/t/source-map-loading-error-and-zoom-media-sharing-initialization-issue-in-angular-mac-safari-firefox/121577>\
**Category:** macOS\
**Created:** [November 27, 2024, 6:02am UTC](https://devforum.zoom.us/t/source-map-loading-error-and-zoom-media-sharing-initialization-issue-in-angular-mac-safari-firefox/121577 "2024-11-27T06:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![geanrhea1998](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/geanrhea1998/32/65243_2.png) [@geanrhea1998](https://devforum.zoom.us/u/geanrhea1998)\
**Post date:** [November 27, 2024, 6:02am UTC](https://devforum.zoom.us/t/source-map-loading-error-and-zoom-media-sharing-initialization-issue-in-angular-mac-safari-firefox/121577/1 "2024-11-27T06:02:16Z")

</div>

I’m encountering a **Source Map Loading Error** in my Angular application when I click the “Start Sharing” button to initialize Zoom media sharing. This issue only occurs on **Mac Safari** and **Mac Firefox** , while it works fine on other browsers.

Here’s the code snippet I’m using:

private async ensureClientAndSession(identity: string, activityId: string, role: SessionRole): Promise {  
const token = await this.getScreenSharingToken(identity, activityId, role);  
console.log(“before client”);  
this.client = ZoomVideo.createClient();  
console.log(“after client”);  
return this.ngZone.runOutsideAngular(async () =\> {  
console.log(“before init”);  
await this.client.init(‘en-US’, ‘Global’, { patchJsMedia: true, stayAwake: true });  
console.log(“after init”);  
console.log(“before join”);  
await this.client.join(activityId, token, identity, ‘’, ZoomMediaSharingService.sessionIdleTimeoutMins);  
console.log(“after join”);  
console.log(“before getMediaStream”);  
this.stream = this.client.getMediaStream();  
console.log(“after getMediaStream”);  
console.log(“after all”);  
});  
}

The **Source Map Loading Error** appears in the console between the `before join` and `after join` logs.

The relevant console logs indicate that key steps in my `ensureClientAndSession` method (e.g., `before client`, `after client`, `before join`) are executed, but the error persists.

The implementation involves using `ZoomVideo.createClient`, followed by `this.client.init()` and `this.client.join()`. Screenshots of the console and code are attached for reference.

**Zoom SDK Version:** `zoom/videosdk 1.11.10`

Does anyone know how to resolve this **Source Map Loading Error** , or if it could impact Zoom functionality? Any guidance would be greatly appreciated!

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 27, 2024, 4:02pm UTC](https://devforum.zoom.us/t/source-map-loading-error-and-zoom-media-sharing-initialization-issue-in-angular-mac-safari-firefox/121577/2 "2024-12-27T16:02:53Z")

</div>

Closed on December 27, 2024, 4:02pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
