Closed MrShiY closed 2 years ago
@MrShiY How did you solve this problem? I'm also facing this issue since days and don't get any solution.
The Video streams are working, however audio is not.
Logs: 2023-01-31 22:58:42.987648+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: others_joined.wav err: 7 2023-01-31 22:58:42.988045+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: others_left.wav err: 7 2023-01-31 22:58:42.988307+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: reconnecting.wav err: 7 2023-01-31 22:58:42.988566+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: reconnected.wav err: 7 2023-01-31 22:58:42.988914+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: reconnect_failed.wav err: 7 2023-01-31 22:58:42.989213+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: rumble_strips.wav err: 7 2023-01-31 22:58:42.989476+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: first_caller.wav err: 7 2023-01-31 22:58:42.989734+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: remote_muted.wav err: 7 2023-01-31 22:58:42.989928+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: call_waiting.wav err: 7 2023-01-31 22:58:42.990146+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: ring_back.wav err: 7 2023-01-31 22:58:42.990362+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: first_caller_beep.wav err: 7 2023-01-31 22:58:42.990552+0100 occ_ios_app[10198:422448] [ERROR] VideoCall.swift - audio cues: welcome.wav err: 7 2023-01-31 22:58:43.074498+0100 occ_ios_app[10198:422202] Recommend to use a scaling ContentMode on the VideoRenderView, as video resolution may change during the session. 2023-01-31 22:58:43.350082+0100 occ_ios_app[10198:422202] device model is iPhone10,6 2023-01-31 22:58:43.350166+0100 occ_ios_app[10198:422202] hardware model is D221AP 2023-01-31 22:58:43.540405+0100 occ_ios_app[10198:422548] [ERROR] VideoCall.swift - audio_client/connector/duplex/dtls/7b98f0111c613c032a83a091706c0ac2.k.m2.ec1.app.chime.aws:3478: auth failed: forbidden to join call 2023-01-31 22:58:43.640680+0100 occ_ios_app[10198:422452] [ERROR] VideoCall.swift - HttpUtils: Received status code 403 2023-01-31 22:58:43.772373+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Initializing VideoClient 2023-01-31 22:58:43.772431+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Starting VideoClient 2023-01-31 22:58:43.774150+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - API/DefaultAudioVideoFacade/start(audioVideoConfiguration: <AmazonChimeSDK.AudioVideoConfiguration: 0x281317a40>) 2023-01-31 22:58:43.774289+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Starting local video with internal source and config 2023-01-31 22:58:43.774354+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Setting simulcast 2023-01-31 22:58:43.927758+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Torch is not available on current camera. 2023-01-31 22:58:43.927847+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Starting remote video 2023-01-31 22:58:43.930062+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - AudioClient State: connecting Status: ok 2023-01-31 22:58:43.930401+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - AudioClient State: fail Status: audioAuthenticationRejected 2023-01-31 22:58:43.938163+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientIsConnecting 2023-01-31 22:58:44.032350+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientDidConnect, 0 2023-01-31 22:58:44.035254+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientCameraSendIsAvailable true 2023-01-31 22:58:44.063018+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Binding VideoView to Tile with tileId = 0 2023-01-31 22:58:44.063068+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - Binding the view to tile: tileId: 0, attendeeId: 9CC5D2F9-3DA3-4BAF-019A-800E085E9AC6 2023-01-31 22:58:44.166215+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientCameraSendIsAvailable true 2023-01-31 22:58:44.166281+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientCameraSendIsAvailable true 2023-01-31 22:58:44.265323+0100 occ_ios_app[10198:422202] [INFO] VideoCall.swift - videoClientCameraSendIsAvailable true 2023-01-31 22:58:44.405060+0100 occ_ios_app[10198:422452] [ERROR] VideoCall.swift - HttpUtils: Received status code 403 2023-01-31 22:58:44.405198+0100 occ_ios_app[10198:422452] [INFO] VideoCall.swift - Unable to send http request. Putting it in dirty events 2023-01-31 22:58:48.499922+0100 occ_ios_app[10198:422452] [ERROR] VideoCall.swift - HttpUtils: Received status code 403 2023-01-31 22:58:48.500234+0100 occ_ios_app[10198:422452] [INFO] VideoCall.swift - Unable to send http request. Putting it in dirty events
Test environment Info (please complete the following information):
Device: iPhoneX OS: iOS15.7.1 Version AmazonChimeSDK: 0.22.7 Version AmazonChimeSDKMedia: 0.17.11
Find my solution for that problem here: #569
Describe the bug After I integrated SDK and Demo code, I faced "audioAuthenticationRejected" error when I called startMeeting(), could you help me finger out where I did wrong.
To Reproduce Meeting info below returned from server side. "meeting_info" = { "audio_fallback_url" = "wss://haxrp.m2.uw2.app.chime.aws:443/calls/319a1e49-45ca-408d-98ef-5c4331f00706"; "audio_host_url" = "7a7033ed355d6c9832d919ed038dba8a.k.m2.uw2.app.chime.aws:3478"; "meeting_id" = "319a1e49-45ca-408d-98ef-5c4331f00706"; "external_meeting_id" = "";
"media_region" = "us-west-2";
"screen_data_url" = "wss://bitpw.m2.uw2.app.chime.aws:443/v2/screen/319a1e49-45ca-408d-98ef-5c4331f00706";
"screen_sharing_url" = "wss://bitpw.m2.uw2.app.chime.aws:443/v2/screen/319a1e49-45ca-408d-98ef-5c4331f00706";
"screen_viewing_url" = "wss://bitpw.m2.uw2.app.chime.aws:443/ws/connect?passcode=null&viewer_uuid=null&X-BitHub-Call-Id=319a1e49-45ca-408d-98ef-5c4331f00706";
"signaling_url" = "wss://signal.m2.uw2.app.chime.aws/control/319a1e49-45ca-408d-98ef-5c4331f00706";
"turn_control_url" = "https://ccp.cp.ue1.app.chime.aws/v2/turn_sessions";
}
Expected behavior A clear and concise description of what you expected to happen.
Logs 2022-06-30 00:10:38.186997+0800 Mukbee[24202:4903783] device model is iPhone11,8 2022-06-30 00:10:38.187088+0800 Mukbee[24202:4903783] hardware model is N841AP 2022-06-30 00:10:38.446536+0800 Mukbee[24202:4903783] [INFO] MeetingModel - Initializing VideoClient 2022-06-30 00:10:38.446574+0800 Mukbee[24202:4903783] [INFO] MeetingModel - Starting VideoClient 2022-06-30 00:10:38.447848+0800 Mukbee[24202:4903783] [INFO] MeetingModel - API/DefaultAudioVideoFacade/start(audioVideoConfiguration: <AmazonChimeSDK.AudioVideoConfiguration: 0x2805d0740>) 2022-06-30 00:10:38.447868+0800 Mukbee[24202:4903783] [INFO] MeetingModel - Starting remote video 2022-06-30 00:10:38.455428+0800 Mukbee[24202:4903783] [INFO] MeetingModel - [Function] audioSessionDidStartConnecting(reconnecting:) -> reconnecting false 2022-06-30 00:10:38.455617+0800 Mukbee[24202:4903783] [INFO] MeetingModel - AudioClient State: connecting Status: ok 2022-06-30 00:10:38.455654+0800 Mukbee[24202:4903783] [INFO] MeetingModel - videoClientIsConnecting 2022-06-30 00:10:38.455857+0800 Mukbee[24202:4903783] [INFO] MeetingModel - [Function] videoSessionDidStartConnecting() -> 2022-06-30 00:10:38.468225+0800 Mukbee[24202:4906271] [ERROR] MeetingModel - xal_core_audio: is_input = 1, callback requested number of frames = 1114 > max_bufsize = 1024 2022-06-30 00:10:38.471165+0800 Mukbee[24202:4906271] [ERROR] MeetingModel - xal_core_audio: is_input = 0, callback requested number of frames = 1115 > max_bufsize = 1114 2022-06-30 00:10:38.492598+0800 Mukbee[24202:4906271] [ERROR] MeetingModel - xal_core_audio: is_input = 1, callback requested number of frames = 1115 > max_bufsize = 1114 2022-06-30 00:10:40.382380+0800 Mukbee[24202:4906226] [ERROR] MeetingModel - audio client/auth: Auth read timeout 2022-06-30 00:10:40.705814+0800 Mukbee[24202:4906226] [ERROR] MeetingModel - audio_client/connector/duplex/dtls/7a7033ed355d6c9832d919ed038dba8a.k.m2.uw2.app.chime.aws:3478: auth failed: forbidden to join call 2022-06-30 00:10:40.708798+0800 Mukbee[24202:4903783] [INFO] MeetingModel - AudioClient State: fail Status: audioAuthenticationRejected 2022-06-30 00:10:40.710861+0800 Mukbee[24202:4903783] [INFO] MeetingModel - [meetingStartRequested: 1656519038182, meetingFailed: 1656519040709] 2022-06-30 00:10:40.879317+0800 Mukbee[24202:4903783] [INFO] MeetingModel - [Function] audioSessionDidStopWithStatus(sessionStatus:) -> audioAuthenticationRejected 2022-06-30 00:10:40.879434+0800 Mukbee[24202:4903783] [INFO] MeetingModel - API/DefaultAudioVideoFacade/stop 2022-06-30 00:10:40.879598+0800 Mukbee[24202:4905731] [INFO] MeetingModel - Stopping VideoClient
Screenshots If applicable, add screenshots to help explain your problem.
Test environment Info (please complete the following information):
Additional context Add any other context about the problem here. SDK version: 0.19.2 iPhone: iPhoneXR 15.4