Giter Club home page Giter Club logo

communication-services-ios-quickstarts's Introduction

Azure Communication Services iOS SDK

Azure Communication Services enable developers to add communication capabilities to their applications.

Prerequisites

Quickstarts

Calling SDK Quickstarts

  1. Add Voice Calling to your iOS App
  2. Add Video Calling to your iOS App
  3. Add Telephone Calling to your iOS App
  4. Handle Calling Events
  5. Raw media Access

Chat SDK Quickstarts

  1. Add Chat to your iOS App
  2. Using Chat SDK with React Native

UI Libraries

  1. Getting Started with Calling UI Libraries
  2. Getting Started with Chat UI Libraries

communication-services-ios-quickstarts's People

Contributors

amyl219 avatar angellan-msft avatar cheukchuen avatar ddematheu2 avatar emlynmac avatar gaobob-msft avatar jimchou-dev avatar joshualai avatar jowang-msft avatar jpeng-ms avatar kevinyulu avatar leah-xia-microsoft avatar lucianopa-msft avatar microsoft-github-operations[bot] avatar microsoftopensource avatar mrayyan avatar palatter avatar pavelprystinka avatar raosanat avatar ravithanneeru avatar vhuseinova-msft avatar waynemo avatar xumo-95 avatar yassirbisteni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

communication-services-ios-quickstarts's Issues

swift SDK crashed when call next page

Please provide us with the following information:

This issue is for a: (mark with an x)

- [✔️] bug report -> please search issues before submitting
- [×] feature request
- [×] documentation issue or request
- [×] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

swift listMessages, call next will crash (just next page is empty, It's very easy to reproduce).

var itar = list.syncIterator
while let msg = itar.next() {}

image

Any log messages given by the failure

Expected/desired behavior

OS and Version?

iOS

Versions

1.2.0

Mention any other details that might be useful


Thanks! We'll be in touch soon.

AzureCommunicationCalling.h Errors

After installing pods with following:

platform :ios, '13.0'
use_frameworks!

target 'SampleApp' do
pod 'AzureCommunicationCalling', '> 1.0.0-beta.5'
pod 'AzureCommunication', '
> 1.0.0-beta.5'
pod 'AzureCore', '~> 1.0.0-beta.5'
end

The Sample App gives 6 Error in AzureCommunicationCalling.h header:

Screenshot 2021-01-15 at 2 09 31 PM

Screenshot 2021-01-15 at 2 13 29 PM

Push Notification: 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Followed the Microsoft Azure tutorial link for integrating push notifications into a chat application.
Encountered the error message: "'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead."

Any log messages given by the failure

The error you provided, "'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead," indicates a problem with the AzureCore dependency.

Expected/desired behavior

Successful compilation without errors on ./add-chat-push-notifications in xcode 15.

OS and Version?

macOS Ventura. xCode 15

Versions

pod 'AzureCommunicationChat', '~> 1.3.3'

Mention any other details that might be useful

Encountered the same issue in both a direct integration into the chat project and when using the Microsoft-provided example project link. The issue appears to be related to the AzureCore dependency, and a possible solution was suggested in the Apple Developer Forums link, recommending the use of @available(iOSApplicationExtension, unavailable). This change may need to be implemented in the Azure SDK to resolve the issue.

Issue

Flutter App Sample

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Mention any other details that might be useful

I want to use Azure Communication Services to make and receive one to one or group voice and video calls from a Flutter app. Is there a sample on how to do it?


Thanks! We'll be in touch soon.

Private podspec is Not Found

Sample App - AzureCommunicationCallingSample provided here , when try to run pod install gives the following error:

[!] Failed to fetch podspec for AzureCommunicationCalling at https://raw.githubusercontent.com/Azure/azure-sdk-for-ios/master/AzureCommunicationCalling.podspec.
Error: 404 Not Found

podfile details are :

Uncomment the next line to define a global platform for your project

platform :ios, '13.0'
use_frameworks!

source 'https://github.com/Azure/azure-sdk-for-ios.git'

target 'AzureCommunicationCallingSample' do

Uncomment this before release testing

pod 'AzureCommunicationCalling', :podspec => 'https://raw.githubusercontent.com/Azure/azure-sdk-for-ios/master/AzureCommunicationCalling.podspec'
pod 'AzureCommunication', :git => 'https://github.com/Azure/azure-sdk-for-ios.git', :branch => "master"
pod 'AzureCore', :git => 'https://github.com/Azure/azure-sdk-for-ios.git', :branch => "master"

#pod 'AzureCommunicationCalling', '> 1.0.0-beta.4'
#pod 'AzureCommunication', '
> 1.0.0-beta.2'
#pod 'AzureCore', '~> 1.0.0-beta.2'
end

Xcode failing running on simulator with an M1 chip

This issue is for:

- [x] compatibility 

Minimal steps to reproduce

Try running the sample on the ios simulator

Error

VideoCall.swift:8:8: Could not find module 'AzureCommunicationCommon' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: Build/Products/Debug-iphonesimulator/AzureCommunicationCommon/AzureCommunicationCommon.framework/Modules/AzureCommunicationCommon.swiftmodule

App running but don't know how to try to call somebody?

I got the sample app running locally but when I run the Simulator and click call nothing happens? what do I need to add to the code in order to make a call?

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Compiler error while importing AzureCommunication

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. clone the project
  2. install cocoapods
  3. open xcode project
  4. build the application
  5. XCode project is not compiling due to incorrect import

Any log messages given by the failure

Compiler error - No such module 'AzureCommunication'

Expected/desired behavior

XCode project should compile successfully

OS and Version?

Mac OS 12.6 (tested)

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Add Video Calling: CallKit reject call not working

This issue is for a: (mark with an x)

- [ x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Start call from one device. Reject call using the CallKit's "red x" button.

Expected/desired behavior

Expect the incoming call banner to disappear. The declineIncomingCall() function is never called.

Request to update the README.md to include the “notification hub” link.

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Following steps in the quick start

Any log messages given by the failure

N/A

Expected/desired behavior

Update to Readme.md to include notification hub link and reference.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
N/A

Versions

N/A

Mention any other details that might be useful

Customer was attempting to follow the steps in the quick start and was stuck with creating and Azure notification hub as they were not completely aware.

  • Provided the following link and walk thru with customer using the information provided:

[Create an Azure notification hub using the Azure portal | Microsoft Learn]
(https://learn.microsoft.com/en-us/azure/notification-hubs/create-notification-hub-portal)
In this tutorial, you learn how to create an Azure notification hub by using the Azure portal.

The customer request that we update the README.md to include the “notification hub” link. with a reference to it.
https://github.com/Azure-Samples/communication-services-ios-quickstarts/blob/main/add-video-calling/README.md


Thanks! We'll be in touch soon.

Video call works in WIFI connection, but not with Cellular connection

Please provide us with the following information:

I ran the AddVideo Quickstart. I have one iPhone X iOS 15 calling another iPhone 8 iOS 15. Video call works when both phones are connected to WIFI. Impressive.

But, when I DISCONNECT iPhone X from WIFI, and only use cellular, the Audio call establish, but when I turn on Video, call will end immediately.

As soon as I reconnect iPhone X to WIFI, Video call function again.

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. From Azure Communication Service portal, generate two sets of User Access Tokens.
  1. Populate 1st set of User Access Token in Add Video Call Project
  2. Build it on an iPhone
  3. Populate 2nd User Access Token in Add Video Call Project
  4. Build it on another iPhone
  5. User 1 of the iPhone to call the other iPhone by entering who to call with "Identity" you obtained from User Access Tokens page from step 1.
  6. Make the Call when bot iPhones are connected to WIFI. Video call should establish.
  7. Disconnect one of the phones from WIFI, and only use Cellular phone (make sure it has a sim card, and with mobile data connection)
  8. Make the call again, you should observer video call cannot be established.
  9. To make sure, reconnect the WIFI connection on both phones, and Video call can be established again.

Any log messages given by the failure

Expected/desired behavior

Video call should work regardless WIFI or Cellular connection

OS and Version?

macOS Big Sur v1.16, Xcode 13.

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Cannot render video stream in iOS 17.4 and 17.5

Function on below cannot render the video stream in iOS 17.4 and 17.5

struct RemoteVideoView: UIViewRepresentable {
let view:RendererView

init(view: RendererView) {
    self.view = view
}

func makeUIView(context: Context) -> UIView {

    return view
}

func updateUIView(_ uiView: UIView, context: Context) {
}

}

But it works well for iOS < 17.2.

Exception or Stack Trace
libsystem_platform.dylib`:
0x101213340 <+0>: sub x3, x0, x1
0x101213344 <+4>: cmp x3, x2
0x101213348 <+8>: b.lo 0x101213590 ; <+592>
0x10121334c <+12>: mov x3, x0
0x101213350 <+16>: cmp x2, #0x40
0x101213354 <+20>: b.lo 0x10121356c ; <+556>
0x101213358 <+24>: sub x4, x1, x0
0x10121335c <+28>: cmp x4, x2
0x101213360 <+32>: b.lo 0x101213464 ; <+292>
0x101213364 <+36>: cmp x2, #0x4, lsl #12 ; =0x4000
0x101213368 <+40>: b.lo 0x1012133e8 ; <+168>
0x10121336c <+44>: add x3, x3, #0x20
0x101213370 <+48>: and x3, x3, #0xffffffffffffffe0
0x101213374 <+52>: ldnp x12, x13, [x1]
0x101213378 <+56>: ldnp x14, x15, [x1, #0x10]
0x10121337c <+60>: sub x5, x3, x0
0x101213380 <+64>: add x1, x1, x5
0x101213384 <+68>: ldnp x8, x9, [x1]
0x101213388 <+72>: ldnp x10, x11, [x1, #0x10]
0x10121338c <+76>: add x1, x1, #0x20
0x101213390 <+80>: sub x2, x2, x5
0x101213394 <+84>: stnp x12, x13, [x0]
0x101213398 <+88>: stnp x14, x15, [x0, #0x10]
0x10121339c <+92>: subs x2, x2, #0x40
0x1012133a0 <+96>: b.ls 0x1012133c4 ; <+132>
0x1012133a4 <+100>: stnp x8, x9, [x3]
0x1012133a8 <+104>: stnp x10, x11, [x3, #0x10]
0x1012133ac <+108>: add x3, x3, #0x20
0x1012133b0 <+112>: ldnp x8, x9, [x1]
0x1012133b4 <+116>: ldnp x10, x11, [x1, #0x10]
0x1012133b8 <+120>: add x1, x1, #0x20
0x1012133bc <+124>: subs x2, x2, #0x20
0x1012133c0 <+128>: b.hi 0x1012133a4 ; <+100>
0x1012133c4 <+132>: add x1, x1, x2
0x1012133c8 <+136>: ldnp x12, x13, [x1]
0x1012133cc <+140>: ldnp x14, x15, [x1, #0x10]
0x1012133d0 <+144>: stnp x8, x9, [x3]
0x1012133d4 <+148>: stnp x10, x11, [x3, #0x10]
0x1012133d8 <+152>: add x3, x3, x2
0x1012133dc <+156>: stnp x12, x13, [x3, #0x20]
0x1012133e0 <+160>: stnp x14, x15, [x3, #0x30]
0x1012133e4 <+164>: ret
0x1012133e8 <+168>: add x3, x3, #0x20
0x1012133ec <+172>: and x3, x3, #0xffffffffffffffe0
0x1012133f0 <+176>: ldnp x12, x13, [x1]
0x1012133f4 <+180>: ldnp x14, x15, [x1, #0x10]
0x1012133f8 <+184>: sub x5, x3, x0
0x1012133fc <+188>: add x1, x1, x5
0x101213400 <+192>: ldnp x8, x9, [x1]
0x101213404 <+196>: ldnp x10, x11, [x1, #0x10]
0x101213408 <+200>: add x1, x1, #0x20
0x10121340c <+204>: sub x2, x2, x5
-> 0x101213410 <+208>: stp x12, x13, [x0]
0x101213414 <+212>: stp x14, x15, [x0, #0x10]
0x101213418 <+216>: subs x2, x2, #0x40
0x10121341c <+220>: b.ls 0x101213440 ; <+256>
0x101213420 <+224>: stp x8, x9, [x3]
0x101213424 <+228>: stp x10, x11, [x3, #0x10]
0x101213428 <+232>: add x3, x3, #0x20
0x10121342c <+236>: ldnp x8, x9, [x1]
0x101213430 <+240>: ldnp x10, x11, [x1, #0x10]
0x101213434 <+244>: add x1, x1, #0x20
0x101213438 <+248>: subs x2, x2, #0x20
0x10121343c <+252>: b.hi 0x101213420 ; <+224>
0x101213440 <+256>: add x1, x1, x2
0x101213444 <+260>: ldnp x12, x13, [x1]
0x101213448 <+264>: ldnp x14, x15, [x1, #0x10]
0x10121344c <+268>: stp x8, x9, [x3]
0x101213450 <+272>: stp x10, x11, [x3, #0x10]
0x101213454 <+276>: add x3, x3, x2
0x101213458 <+280>: stp x12, x13, [x3, #0x20]
0x10121345c <+284>: stp x14, x15, [x3, #0x30]
0x101213460 <+288>: ret
0x101213464 <+292>: cmp x2, #0x4, lsl #12 ; =0x4000
0x101213468 <+296>: b.lo 0x1012134e8 ; <+424>
0x10121346c <+300>: add x3, x3, #0x20
0x101213470 <+304>: and x3, x3, #0xffffffffffffffe0
0x101213474 <+308>: ldp x12, x13, [x1]
0x101213478 <+312>: ldp x14, x15, [x1, #0x10]
0x10121347c <+316>: sub x5, x3, x0
0x101213480 <+320>: add x1, x1, x5
0x101213484 <+324>: ldp x8, x9, [x1]
0x101213488 <+328>: ldp x10, x11, [x1, #0x10]
0x10121348c <+332>: add x1, x1, #0x20
0x101213490 <+336>: sub x2, x2, x5
0x101213494 <+340>: stnp x12, x13, [x0]
0x101213498 <+344>: stnp x14, x15, [x0, #0x10]
0x10121349c <+348>: subs x2, x2, #0x40
0x1012134a0 <+352>: b.ls 0x1012134c4 ; <+388>
0x1012134a4 <+356>: stnp x8, x9, [x3]
0x1012134a8 <+360>: stnp x10, x11, [x3, #0x10]
0x1012134ac <+364>: add x3, x3, #0x20
0x1012134b0 <+368>: ldp x8, x9, [x1]
0x1012134b4 <+372>: ldp x10, x11, [x1, #0x10]
0x1012134b8 <+376>: add x1, x1, #0x20
0x1012134bc <+380>: subs x2, x2, #0x20
0x1012134c0 <+384>: b.hi 0x1012134a4 ; <+356>
0x1012134c4 <+388>: add x1, x1, x2
0x1012134c8 <+392>: ldp x12, x13, [x1]
0x1012134cc <+396>: ldp x14, x15, [x1, #0x10]
0x1012134d0 <+400>: stnp x8, x9, [x3]
0x1012134d4 <+404>: stnp x10, x11, [x3, #0x10]
0x1012134d8 <+408>: add x3, x3, x2
0x1012134dc <+412>: stnp x12, x13, [x3, #0x20]
0x1012134e0 <+416>: stnp x14, x15, [x3, #0x30]
0x1012134e4 <+420>: ret
0x1012134e8 <+424>: add x3, x3, #0x20
0x1012134ec <+428>: and x3, x3, #0xffffffffffffffe0
0x1012134f0 <+432>: ldp x12, x13, [x1]
0x1012134f4 <+436>: ldp x14, x15, [x1, #0x10]
0x1012134f8 <+440>: sub x5, x3, x0
0x1012134fc <+444>: add x1, x1, x5
0x101213500 <+448>: ldp x8, x9, [x1]
0x101213504 <+452>: ldp x10, x11, [x1, #0x10]
0x101213508 <+456>: add x1, x1, #0x20
0x10121350c <+460>: sub x2, x2, x5
0x101213510 <+464>: stp x12, x13, [x0]
0x101213514 <+468>: stp x14, x15, [x0, #0x10]
0x101213518 <+472>: subs x2, x2, #0x40
0x10121351c <+476>: b.ls 0x101213540 ; <+512>
0x101213520 <+480>: stp x8, x9, [x3]
0x101213524 <+484>: stp x10, x11, [x3, #0x10]
0x101213528 <+488>: add x3, x3, #0x20
0x10121352c <+492>: ldp x8, x9, [x1]
0x101213530 <+496>: ldp x10, x11, [x1, #0x10]
0x101213534 <+500>: add x1, x1, #0x20
0x101213538 <+504>: subs x2, x2, #0x20
0x10121353c <+508>: b.hi 0x101213520 ; <+480>
0x101213540 <+512>: add x1, x1, x2
0x101213544 <+516>: ldp x12, x13, [x1]
0x101213548 <+520>: ldp x14, x15, [x1, #0x10]
0x10121354c <+524>: stp x8, x9, [x3]
0x101213550 <+528>: stp x10, x11, [x3, #0x10]
0x101213554 <+532>: add x3, x3, x2
0x101213558 <+536>: stp x12, x13, [x3, #0x20]
0x10121355c <+540>: stp x14, x15, [x3, #0x30]
0x101213560 <+544>: ret
0x101213564 <+548>: ldr x6, [x1], #0x8
0x101213568 <+552>: str x6, [x3], #0x8
0x10121356c <+556>: subs x2, x2, #0x8
0x101213570 <+560>: b.hs 0x101213564 ; <+548>
0x101213574 <+564>: adds x2, x2, #0x8
0x101213578 <+568>: b.eq 0x10121358c ; <+588>
0x10121357c <+572>: ldrb w6, [x1], #0x1
0x101213580 <+576>: strb w6, [x3], #0x1
0x101213584 <+580>: subs x2, x2, #0x1
0x101213588 <+584>: b.ne 0x10121357c ; <+572>
0x10121358c <+588>: ret
0x101213590 <+592>: cbz x3, 0x1012136c4 ; <+900>
0x101213594 <+596>: add x4, x0, x2
0x101213598 <+600>: add x1, x1, x2
0x10121359c <+604>: cmp x2, #0x40
0x1012135a0 <+608>: b.lo 0x1012136a4 ; <+868>
0x1012135a4 <+612>: cmp x2, #0x4, lsl #12 ; =0x4000
0x1012135a8 <+616>: b.lo 0x101213624 ; <+740>
0x1012135ac <+620>: ldp x12, x13, [x1, #-0x10]
0x1012135b0 <+624>: ldp x14, x15, [x1, #-0x20]
0x1012135b4 <+628>: sub x3, x4, #0x1
0x1012135b8 <+632>: and x3, x3, #0xffffffffffffffe0
0x1012135bc <+636>: sub x5, x4, x3
0x1012135c0 <+640>: sub x1, x1, x5
0x1012135c4 <+644>: sub x2, x2, x5
0x1012135c8 <+648>: ldp x8, x9, [x1, #-0x10]
0x1012135cc <+652>: ldp x10, x11, [x1, #-0x20]
0x1012135d0 <+656>: stnp x12, x13, [x4, #-0x10]
0x1012135d4 <+660>: stnp x14, x15, [x4, #-0x20]
0x1012135d8 <+664>: sub x1, x1, #0x20
0x1012135dc <+668>: subs x2, x2, #0x40
0x1012135e0 <+672>: b.ls 0x101213604 ; <+708>
0x1012135e4 <+676>: stnp x8, x9, [x3, #-0x10]
0x1012135e8 <+680>: stnp x10, x11, [x3, #-0x20]
0x1012135ec <+684>: sub x3, x3, #0x20
0x1012135f0 <+688>: ldp x8, x9, [x1, #-0x10]
0x1012135f4 <+692>: ldp x10, x11, [x1, #-0x20]
0x1012135f8 <+696>: sub x1, x1, #0x20
0x1012135fc <+700>: subs x2, x2, #0x20
0x101213600 <+704>: b.hi 0x1012135e4 ; <+676>
0x101213604 <+708>: sub x1, x1, x2
0x101213608 <+712>: ldp x12, x13, [x1, #-0x10]
0x10121360c <+716>: ldp x14, x15, [x1, #-0x20]
0x101213610 <+720>: stnp x8, x9, [x3, #-0x10]
0x101213614 <+724>: stnp x10, x11, [x3, #-0x20]
0x101213618 <+728>: stnp x12, x13, [x0, #0x10]
0x10121361c <+732>: stnp x14, x15, [x0]
0x101213620 <+736>: ret
0x101213624 <+740>: ldp x12, x13, [x1, #-0x10]
0x101213628 <+744>: ldp x14, x15, [x1, #-0x20]
0x10121362c <+748>: sub x3, x4, #0x1
0x101213630 <+752>: and x3, x3, #0xffffffffffffffe0
0x101213634 <+756>: sub x5, x4, x3
0x101213638 <+760>: sub x1, x1, x5
0x10121363c <+764>: sub x2, x2, x5
0x101213640 <+768>: ldp x8, x9, [x1, #-0x10]
0x101213644 <+772>: ldp x10, x11, [x1, #-0x20]
0x101213648 <+776>: stp x12, x13, [x4, #-0x10]
0x10121364c <+780>: stp x14, x15, [x4, #-0x20]
0x101213650 <+784>: sub x1, x1, #0x20
0x101213654 <+788>: subs x2, x2, #0x40
0x101213658 <+792>: b.ls 0x10121367c ; <+828>
0x10121365c <+796>: stp x8, x9, [x3, #-0x10]
0x101213660 <+800>: stp x10, x11, [x3, #-0x20]
0x101213664 <+804>: sub x3, x3, #0x20
0x101213668 <+808>: ldp x8, x9, [x1, #-0x10]
0x10121366c <+812>: ldp x10, x11, [x1, #-0x20]
0x101213670 <+816>: sub x1, x1, #0x20
0x101213674 <+820>: subs x2, x2, #0x20
0x101213678 <+824>: b.hi 0x10121365c ; <+796>
0x10121367c <+828>: sub x1, x1, x2
0x101213680 <+832>: ldp x12, x13, [x1, #-0x10]
0x101213684 <+836>: ldp x14, x15, [x1, #-0x20]
0x101213688 <+840>: stp x8, x9, [x3, #-0x10]
0x10121368c <+844>: stp x10, x11, [x3, #-0x20]
0x101213690 <+848>: stp x12, x13, [x0, #0x10]
0x101213694 <+852>: stp x14, x15, [x0]
0x101213698 <+856>: ret
0x10121369c <+860>: ldr x6, [x1, #-0x8]!
0x1012136a0 <+864>: str x6, [x4, #-0x8]!
0x1012136a4 <+868>: subs x2, x2, #0x8
0x1012136a8 <+872>: b.hs 0x10121369c ; <+860>
0x1012136ac <+876>: adds x2, x2, #0x8
0x1012136b0 <+880>: b.eq 0x1012136c4 ; <+900>
0x1012136b4 <+884>: ldrb w6, [x1, #-0x1]!
0x1012136b8 <+888>: strb w6, [x4, #-0x1]!
0x1012136bc <+892>: subs x2, x2, #0x1
0x1012136c0 <+896>: b.ne 0x1012136b4 ; <+884>
0x1012136c4 <+900>: ret
0x1012136c8 <+904>: udf #0x0
0x1012136cc <+908>: udf #0x0
0x1012136d0 <+912>: udf #0x0
0x1012136d4 <+916>: udf #0x0
0x1012136d8 <+920>: udf #0x0
0x1012136dc <+924>: udf #0x0

Screenshot 2024-07-07 at 14 48 51

To Reproduce
Steps to reproduce the behavior:

  1. Use one of the MS example projects

https://github.com/Azure-Samples/communication-services-ios-quickstarts/tree/main/add-video-calling
https://github.com/Azure-Samples/communication-services-ios-quickstarts/tree/main/join-room-call

  1. with the AzureCommunicationCalling 2.11.0

  2. Run Xcode simulator with iOS 17.4 / 17.5 (either Debug or Release)

Expected behavior
The remote video stream would be smoothly render as in iOS 17.2

App Crashing

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

App is crashing with thread issues in different scenarios.
All the crashes are happening when accessing any methods from declared Call object.

  1. Make an audio call between device A and device B
  2. Accept the call
  3. Turn on video functionality on device A by calling call.startVideo method.
  4. Device B is crashing

Another crash

  1. Make an audio call between device A and device B
  2. Accept the call
  3. Call Hangup call in any device using call.hangup method
  4. App is crashing

Any log messages given by the failure

Crash log is

TeamsIntegration-2021-02-02-143124.ips.zip

Expected/desired behavior

App should not crash.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
iOS 14.4

Versions


Thanks! We'll be in touch soon.

Video call sample request

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Please provide video call sample or document


Thanks! We'll be in touch soon.

No Chat Push Notifications Are being Received

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Run the Chat Push Notification quick start example, on the emulator it fails to register for push notifications. On an actual device, the registration is successful with no errors. Whenever a new message is sent, no push notification is sent or received, because the device registration on Azure notification hub is never updated.

Any log messages given by the failure

Expected/desired behavior

If the registration does not throw any error, the device should be registered on Azure Notification hub and should show in the Notification hub logs.

OS and Version?

macOS Ventura

Versions

Mention any other details that might be useful

This is an iOS purely based on Swift and no Objective-C, most Azure notification hub documentation is 3 years old and is in Objective-C


Thanks! We'll be in touch soon.

chatclient startPushNotifications "Service returned invalid status code"

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I'm working on a React Native app that needs to implemet Azure Communication Chat. I've made a Swift native module that should take care of enabling push notification via chatclient. Therefore I've followed the instructions to integrate the iOS sdk on the native part of my app.

What is working:

  • Communication between React Native components and Swift module
  • ChatClient generation (I can list threads)

What is not working:

When I call the chatclient.startPushNotifications method, passig of course the correct deviceToken, I get an error and the push notifications don't get enabled.

Any log messages given by the failure

This is the error throwed by the library

error: client("Failed to start push notifications", Optional(AzureCore.AzureError.client("Failed to start push notifications", Optional(AzureCore.AzureError.client("Registration request failed.", Optional(AzureCore.AzureError.client("Registration request failed.", Optional(AzureCore.AzureError.service("Service returned invalid status code [400]", nil)))))))))]}

Expected/desired behavior

Since the deviceToken is generated correctly and sucesfuly used for other remote push notifications services, it should register just fine for Azure Chat.

OS and Version?

The error is occourring on iOS 13 running on an emulator.

Versions

AzureCommunicationChat iOS SDK 1.3.1

Video not streamed when switch the camera from front to back or Vice versa

Here is the function for toggle camera:-
public func toggleCamera() {
do {
// Access device manager cameras directly, catching any potential nil
let availableCameras = try sharedState.deviceManager!.cameras

      // Define scaling mode for the preview view
      let scalingMode: ScalingMode = .crop

      // Initialize local video streams if nil
      if (sharedState.localVideoStreams == nil) {
          sharedState.localVideoStreams = [LocalVideoStream]()
      }
    if(sharedState.isUsingFrontCamera){
      // Create and append local video stream from first available camera
      let localVideoStream = LocalVideoStream(camera: availableCameras.first{ $0.cameraFacing == .back }!)
      sharedState.localVideoStreams!.append(localVideoStream)
      
      // Create preview renderer and view for the local video stream
      sharedState.previewRenderer = try VideoStreamRenderer(localVideoStream: sharedState.localVideoStreams!.first!)
      sharedState.previewView = try sharedState.previewRenderer!.createView(withOptions: CreateViewOptions(scalingMode: scalingMode))
      sharedState.isUsingFrontCamera.toggle()
    }else{
      let localVideoStream = LocalVideoStream(camera: availableCameras.first{ $0.cameraFacing == .front }!)
      sharedState.localVideoStreams!.append(localVideoStream)
      
      // Create preview renderer and view for the local video stream
      sharedState.previewRenderer = try VideoStreamRenderer(localVideoStream: sharedState.localVideoStreams!.first!)
      sharedState.previewView = try sharedState.previewRenderer!.createView(withOptions: CreateViewOptions(scalingMode: scalingMode))
      sharedState.isUsingFrontCamera.toggle()
    }

      // Start video stream with error handling
      sharedState.call!.startVideo(stream: sharedState.localVideoStreams!.first!) { (error) in
          if (error != nil) {
              sharedState.alertMessage = "Could not share video"
              sharedState.showAlert = true
          }
          else {
              sharedState.sendingLocalVideo = true
          }
      }
  } catch let error {
      // Handle any errors caught during the process
      sharedState.alertMessage = "Error toggling camera: \(error.localizedDescription)"
      sharedState.showAlert = true
  }

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.