jitsi / jitsi-meet-react-sdk

React SDK for Jitsi Meet
Apache License 2.0
65 stars 36 forks source link

Accessing redux store features/base/tracks #18

Closed santo4ul closed 2 years ago

santo4ul commented 2 years ago

Hi,

I'm trying to access the remote audio stream (incoming) of a conferene. I'm doing this to record the incoming audio stream to a wav file.

Based on information given here, the incoming (remote) audio stream is available at the redux store features/base/tracks.

Is it possible to access the redux store features/base/tracks from jitsi-meet-react-sdk? Any hint on achieving this would be really great.

Thank you.

saghul commented 2 years ago

Hi there!

Interesting use case.

This SDK uses our external API internally, which loads the meeting in an iframe, and we send commands and get events using the postMessage API. It's not technically possible to send a MediaStreamTrack over postMessage so I'm afraid what you ask is not possible.