Here's how you can do this:

  1. Instantiate the Angular EventEmitter in the app.component
  2. Pass it to the Skylink Wrapper constructor and keep it in a member attribute of the class.
  3. Emit the event with the recording value:
Skylink.on('recordingState', function (state, recordingId, link, error)

{ this.emmiter.emit("myRecordingIdEvent", recordingId) }


       4. Implement the event listener (handler) in app.component.