Commit c2d38845 authored by 朱璇's avatar 朱璇

设置音频编码格式

parent 6d2b1ab3
...@@ -38,9 +38,9 @@ static id _manager; ...@@ -38,9 +38,9 @@ static id _manager;
{ {
self = [super init]; self = [super init];
if (self) { if (self) {
_rtcEngine = [TTTRtcEngineKit sharedEngineWithAppId:TTTAppID delegate:nil]; _rtcEngine = [TTTRtcEngineKit sharedEngineWithAppId:TTTAppID delegate:nil];
[_rtcEngine setSignalTimeout:30]; [_rtcEngine setSignalTimeout:30];
[_rtcEngine setPreferAudioCodec:TTTRtc_AudioCodec_ISAC_WB bitrate:32 channels:1];
_me = [[GMTTTUser alloc] initWith:0]; _me = [[GMTTTUser alloc] initWith:0];
_localProfile = TTTRtc_VideoProfile_Default; _localProfile = TTTRtc_VideoProfile_Default;
_cdnProfile = TTTRtc_VideoProfile_Default; _cdnProfile = TTTRtc_VideoProfile_Default;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment