File tree Expand file tree Collapse file tree
windows/APIExample/APIExample/Advanced Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,15 +321,15 @@ void CAgoraAudioProfile::joinSecondChannelAndStartAudioMixer()
321321 LocalAudioMixerConfiguration config;
322322 config.syncWithLocalMic = false ;
323323 config.streamCount = 2 ;
324- config.sourceStreams = sourceStreams;
324+ config.audioInputStreams = sourceStreams;
325325
326326 MixedAudioStream remoteStream ( AUDIO_SOURCE_REMOTE_CHANNEL);
327- remoteStream.channelName = mainchannelName;
328- config.sourceStreams [0 ] = remoteStream;
327+ remoteStream.channelId = mainchannelName;
328+ config.audioInputStreams [0 ] = remoteStream;
329329
330330 MixedAudioStream remoteStream2 (AUDIO_SOURCE_MICROPHONE);
331- remoteStream2.channelName = mainchannelName;
332- config.sourceStreams [1 ] = remoteStream2;
331+ remoteStream2.channelId = mainchannelName;
332+ config.audioInputStreams [1 ] = remoteStream2;
333333 int ret = m_rtcEngine->startLocalAudioMixer (config);
334334 if (ret != 0 )
335335 {
Original file line number Diff line number Diff line change @@ -274,7 +274,8 @@ void PushExternalVideoYUV::OnClickedButtonJoinchannel()
274274 // leave channel in the engine.
275275 if (0 == m_rtcEngine->leaveChannel ()) {
276276 strInfo.Format (_T (" leave channel %s" ), getCurrentTime ());
277-
277+ mCbHdr .SetCheck (FALSE );
278+ isUseHdr = false ;
278279 yuvReader.stop ();
279280 m_remoteVideoWnd.Reset ();
280281 m_remoteVideoWnd.SetUID (0 );
You can’t perform that action at this time.
0 commit comments