Skip to content

Commit

Permalink
Fix missing streamSID, remove outbound track (not supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstahlbaum-fibernetics committed Apr 4, 2024
1 parent f897528 commit 0f4d22d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ void TwilioHelper::start(AudioPipe *pAudioPipe)
json << R"("start": {)";
json << R"("accountSid": ")" << m_account_sid << "\",";
json << R"("callSid": ")" << m_call_sid << "\",";
json << R"("tracks": ["inbound","outbound"],)";
json << R"("streamSid": ")" << m_stream_sid << "\",";
json << R"("tracks": ["inbound"],)";
json << R"("mediaFormat": {)";
json << R"("encoding": "audio/x-mulaw",)";
json << R"("sampleRate": 8000,)";
Expand Down

0 comments on commit 0f4d22d

Please sign in to comment.