Open eyaadh opened 2 years ago
Hi, Here is my code:
import agorartc RTC = agorartc.createRtcEngineBridge() eventHandler = agorartc.RtcEngineEventHandlerBase() RTC.initEventHandler(eventHandler) RTC.initialize(AGORA_KEY, None, agorartc.AREA_CODE_GLOB & 0xFFFFFFFE) audio_recording_device_manager, err = RTC.createAudioRecordingDeviceManager() audio_recording_device_manager.setDevice('{0.0.1.00000000}.{b0b6ff39-27a9-4445-9f7b-2ed6ab150306}') if RTC.setAudioProfile( agorartc.AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO, agorartc.AUDIO_SCENARIO_GAME_STREAMING ) < 0: print("Failed to set the high quality audio profile")
On pyCharm terminal it just crashes without any error, and when trying on gitBash terminal it crashes with the output Segmentation fault .
Segmentation fault
Environment details are: OS: Win 10x64 Python Version: 3.9.6 agora-python-sdk: 3.1.2.10
Also on a side note, from the above code, I setDevice to a virtual mic, and collected its details using the following:
setDevice
audio_input_device_count = audio_recording_device_manager.getCount() input_devices = [] for device_number in range(audio_input_device_count + 1): x_device = audio_recording_device_manager.getDevice(device_number, '', '') input_devices.append(x_device) print(x_device)
Appreciate if you could advise me where and how I could get around this to have it fixed.
Hi, Here is my code:
On pyCharm terminal it just crashes without any error, and when trying on gitBash terminal it crashes with the output
Segmentation fault
.Environment details are: OS: Win 10x64 Python Version: 3.9.6 agora-python-sdk: 3.1.2.10
Also on a side note, from the above code, I
setDevice
to a virtual mic, and collected its details using the following:Appreciate if you could advise me where and how I could get around this to have it fixed.