@newgameplusinc/odyssey-audio-video-sdk-dev 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -125,7 +125,20 @@ class OdysseySpatialComms extends EventManager_1.EventManager {
|
|
|
125
125
|
return this.spatialAudioManager.getAudioContextState();
|
|
126
126
|
}
|
|
127
127
|
async produceTrack(track) {
|
|
128
|
+
console.log("🎤 SDK: produceTrack called:", {
|
|
129
|
+
kind: track.kind,
|
|
130
|
+
trackId: track.id,
|
|
131
|
+
enabled: track.enabled,
|
|
132
|
+
muted: track.muted,
|
|
133
|
+
readyState: track.readyState,
|
|
134
|
+
localParticipantId: this.localParticipant?.participantId
|
|
135
|
+
});
|
|
128
136
|
const producer = await this.mediasoupManager.produce(track);
|
|
137
|
+
console.log("✅ SDK: Producer created:", {
|
|
138
|
+
producerId: producer.id,
|
|
139
|
+
kind: track.kind,
|
|
140
|
+
localParticipantId: this.localParticipant?.participantId
|
|
141
|
+
});
|
|
129
142
|
if (this.localParticipant) {
|
|
130
143
|
const isFirstProducer = this.localParticipant.producers.size === 0;
|
|
131
144
|
this.localParticipant.producers.set(producer.id, producer);
|
package/package.json
CHANGED