aws / connect-rtc-js

Provide softphone support to AmazonConnect customers when they choose to directly integrate with our API and not using our web app.
Apache License 2.0
79 stars 63 forks source link

RtcSession.mediaStream is not getting used #25

Closed alonch closed 1 year ago

alonch commented 6 years ago

Issue

If I use connect.core.initSoftphoneManager() on streams api, the session tries to get the microphone from the browser, even tho a stream has been provided

Solutions

on line https://github.com/aws/connect-rtc-js/blob/b363655d6fc5ddb13c17ca8c850f17156ffdf471/src/js/rtc_session.js#L71

_userAudioStream has been refactored to_localStream

This test will need fixing after the change https://github.com/aws/connect-rtc-js/blob/4959a1abe6d35669e8099ce3ac26197f950bddfb/test/unit/rtc_session.js#L84

yiming-amzn commented 1 year ago

This is addressed in v1.1.16