├── add-video-calling ├── .gitignore ├── iOSVideo │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── iOSVideo.entitlements │ ├── CallKitHelper.swift │ └── Info.plist ├── iOSVideo.xcodeproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata └── iOSVideo.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── swiftpm │ └── Package.resolved ├── raw-video ├── .gitignore ├── RawVideo │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── RawVideoApp.swift │ ├── CaptureServiceDelegate.swift │ ├── VideoStreamView.swift │ ├── CaptureService.swift │ ├── RawVideoFrameView.swift │ └── ScreenCaptureService.swift ├── Pods │ ├── Target Support Files │ │ ├── Pods-RawVideo │ │ │ ├── Pods-RawVideo.modulemap │ │ │ ├── Pods-RawVideo-dummy.m │ │ │ ├── Pods-RawVideo-frameworks-Debug-output-files.xcfilelist │ │ │ ├── Pods-RawVideo-frameworks-Release-output-files.xcfilelist │ │ │ ├── Pods-RawVideo-frameworks-Debug-input-files.xcfilelist │ │ │ ├── Pods-RawVideo-frameworks-Release-input-files.xcfilelist │ │ │ ├── Pods-RawVideo-umbrella.h │ │ │ ├── Pods-RawVideo-Info.plist │ │ │ ├── Pods-RawVideo.debug.xcconfig │ │ │ └── Pods-RawVideo.release.xcconfig │ │ ├── AzureCommunicationCalling │ │ │ ├── AzureCommunicationCalling-xcframeworks-output-files.xcfilelist │ │ │ ├── AzureCommunicationCalling-xcframeworks-input-files.xcfilelist │ │ │ ├── AzureCommunicationCalling.debug.xcconfig │ │ │ └── AzureCommunicationCalling.release.xcconfig │ │ └── AzureCommunicationCommon │ │ │ ├── AzureCommunicationCommon.modulemap │ │ │ ├── AzureCommunicationCommon-dummy.m │ │ │ ├── AzureCommunicationCommon-umbrella.h │ │ │ ├── AzureCommunicationCommon.debug.xcconfig │ │ │ ├── AzureCommunicationCommon.release.xcconfig │ │ │ └── AzureCommunicationCommon-Info.plist │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── xcuserdata │ │ │ ├── bistenijoker.xcuserdatad │ │ │ └── xcschemes │ │ │ │ ├── xcschememanagement.plist │ │ │ │ ├── AppCenter.xcscheme │ │ │ │ ├── Pods-RawVideoApp.xcscheme │ │ │ │ └── AzureCommunicationCommon.xcscheme │ │ │ └── bisteni.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ ├── Pods-RawVideo.xcscheme │ │ │ ├── AzureCommunicationCalling.xcscheme │ │ │ └── AzureCommunicationCommon.xcscheme │ └── AzureCommunicationCommon │ │ ├── LICENSE │ │ └── sdk │ │ └── communication │ │ └── AzureCommunicationCommon │ │ └── Source │ │ ├── Authentication │ │ ├── CommunicationTokenCredentialProviding.swift │ │ └── CommunicationAccessToken.swift │ │ └── CommunicationCloudEnvironment.swift ├── RawVideo.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcuserdata │ │ │ ├── bisteni.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ │ └── bistenijoker.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── bisteni.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ └── bistenijoker.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── RawVideo.xcworkspace │ ├── xcuserdata │ │ ├── bisteni.xcuserdatad │ │ │ ├── xcdebugger │ │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── IDEFindNavigatorScopes.plist │ │ └── bistenijoker.xcuserdatad │ │ │ ├── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ │ │ ├── UserInterfaceState.xcuserstate │ │ │ └── WorkspaceSettings.xcsettings │ ├── xcshareddata │ │ ├── WorkspaceSettings.xcsettings │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── Podfile └── Podfile.lock ├── join-room-call ├── .gitignore ├── roomsquickstart │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── roomsquickstartApp.swift │ ├── Info.plist │ └── Views │ │ └── ParticipantView.swift ├── Podfile ├── roomsquickstart.xcodeproj │ └── project.xcworkspace │ │ └── contents.xcworkspacedata ├── roomsquickstart.xcworkspace │ └── contents.xcworkspacedata ├── Podfile.lock └── README.md ├── add-chat ├── ChatQuickstart │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── Info.plist ├── ChatQuickstart.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcuserdata │ │ │ └── akanshagaur.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── akanshagaur.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ └── ningxinlan.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── ChatQuickstart.xcworkspace │ ├── xcuserdata │ │ └── ningxinlan.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Podfile └── Podfile.lock ├── join-chat-to-teams-meeting ├── Assets.xcassets │ ├── Contents.json │ ├── AccentColor.colorset │ │ └── Contents.json │ └── AppIcon.appiconset │ │ └── Contents.json ├── Preview Content │ └── Preview Assets.xcassets │ │ └── Contents.json ├── Chat Teams Interop.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Chat Teams Interop.xcworkspace │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── Podfile ├── Chat_Teams_InteropApp.swift └── Podfile.lock ├── ui-calling ├── UILibraryQuickStart │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── ViewController.swift ├── Podfile ├── UILibraryQuickStart.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── UILibraryQuickStart.xcworkspace │ ├── xcshareddata │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── ui-chat ├── UILibraryQuickStart │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── Main.storyboard │ │ └── LaunchScreen.storyboard │ └── SceneDelegate.swift ├── Podfile ├── UILibraryQuickStart.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── UILibraryQuickStart.xcworkspace │ ├── xcshareddata │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── add-video-calling-callkit ├── iOSVideo │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── iOSVideo.entitlements │ └── Info.plist ├── Pods │ ├── Target Support Files │ │ ├── AzureCommunicationCalling │ │ │ ├── AzureCommunicationCalling-xcframeworks-output-files.xcfilelist │ │ │ ├── AzureCommunicationCalling-xcframeworks-input-files.xcfilelist │ │ │ ├── AzureCommunicationCalling.debug.xcconfig │ │ │ └── AzureCommunicationCalling.release.xcconfig │ │ ├── Pods-iOSVideo │ │ │ ├── Pods-iOSVideo.modulemap │ │ │ ├── Pods-iOSVideo-dummy.m │ │ │ ├── Pods-iOSVideo-frameworks-Debug-output-files.xcfilelist │ │ │ ├── Pods-iOSVideo-frameworks-Release-output-files.xcfilelist │ │ │ ├── Pods-iOSVideo-frameworks-Debug-input-files.xcfilelist │ │ │ ├── Pods-iOSVideo-frameworks-Release-input-files.xcfilelist │ │ │ ├── Pods-iOSVideo-umbrella.h │ │ │ ├── Pods-iOSVideo-Info.plist │ │ │ ├── Pods-iOSVideo.debug.xcconfig │ │ │ └── Pods-iOSVideo.release.xcconfig │ │ └── AzureCommunicationCommon │ │ │ ├── AzureCommunicationCommon.modulemap │ │ │ ├── AzureCommunicationCommon-dummy.m │ │ │ ├── AzureCommunicationCommon-umbrella.h │ │ │ ├── AzureCommunicationCommon.debug.xcconfig │ │ │ ├── AzureCommunicationCommon.release.xcconfig │ │ │ └── AzureCommunicationCommon-Info.plist │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── xcuserdata │ │ │ └── sanathrao.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ ├── Pods-iOSVideo.xcscheme │ │ │ ├── AzureCommunicationCalling.xcscheme │ │ │ └── AzureCommunicationCommon.xcscheme │ └── AzureCommunicationCommon │ │ ├── LICENSE │ │ └── sdk │ │ └── communication │ │ └── AzureCommunicationCommon │ │ └── Source │ │ ├── Authentication │ │ ├── CommunicationTokenCredentialProviding.swift │ │ └── CommunicationAccessToken.swift │ │ └── CommunicationCloudEnvironment.swift ├── iOSVideoCallKit.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── sanathrao.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── sanathrao.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── iOSVideo.xcworkspace │ ├── xcuserdata │ │ └── sanathrao.xcuserdatad │ │ │ └── xcdebugger │ │ │ └── Breakpoints_v2.xcbkptlist │ ├── xcshareddata │ │ └── IDEWorkspaceChecks.plist │ └── contents.xcworkspacedata ├── Podfile.lock ├── Podfile └── README.md ├── Media └── quick-start-make-call-ios.png ├── add-chat-push-notifications ├── SwiftPushTest │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── AppSettings.plist │ ├── ViewController.swift │ ├── SwiftPushTest.entitlements │ ├── SwiftPushTestDebug.entitlements │ ├── AppSettings.swift │ ├── Info.plist │ └── Base.lproj │ │ └── LaunchScreen.storyboard ├── SwiftPushTest.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ ├── xcuserdata │ │ │ └── amylong.xcuserdatad │ │ │ │ └── UserInterfaceState.xcuserstate │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcuserdata │ │ ├── ningxinlan.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ ├── matthewpodwysocki.xcuserdatad │ │ └── xcschemes │ │ │ └── xcschememanagement.plist │ │ └── amylong.xcuserdatad │ │ ├── xcschemes │ │ └── xcschememanagement.plist │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── SwiftPushTest.xcworkspace │ ├── xcuserdata │ │ └── ningxinlan.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SwiftPushTestNotificationExtension │ ├── SwiftPushTestNotificationExtension.entitlements │ ├── SwiftPushTestNotificationExtensionDebug.entitlements │ └── Info.plist ├── README.md ├── Podfile └── Podfile.lock ├── add-chat-push-notifications-auto-renew ├── SwiftPushTest │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── SwiftPushTest.entitlements │ ├── AppSettings.plist │ ├── SwiftPushTestDebug.entitlements │ ├── Info.plist │ ├── ViewController.swift │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ └── AppSettings.swift ├── README.md ├── SwiftPushTest.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SwiftPushTest.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── SwiftPushTestNotificationExtension │ ├── SwiftPushTestNotificationExtension.entitlements │ ├── SwiftPushTestNotificationExtensionDebug.entitlements │ └── Info.plist ├── Podfile └── Podfile.lock ├── join-call-to-teams-meeting ├── join-call-to-teams-meeting │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── Podfile │ ├── join_call_to_teams_meetingApp.swift │ └── Info.plist ├── Podfile ├── join-call-to-teams-meeting.xcodeproj │ └── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist └── README.md ├── CHANGELOG.md ├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── LICENSE.md └── README.md /add-video-calling/.gitignore: -------------------------------------------------------------------------------- 1 | Pods/ 2 | IDEWorkspaceChecks.plist 3 | **/xcuserdata/* -------------------------------------------------------------------------------- /raw-video/.gitignore: -------------------------------------------------------------------------------- 1 | Pods/ 2 | IDEWorkspaceChecks.plist 3 | xcuserdata/ 4 | *.xcscmblueprint 5 | *.xccheckout -------------------------------------------------------------------------------- /join-room-call/.gitignore: -------------------------------------------------------------------------------- 1 | Pods/ 2 | IDEWorkspaceChecks.plist 3 | xcuserdata/ 4 | *.xcscmblueprint 5 | *.xccheckout -------------------------------------------------------------------------------- /raw-video/RawVideo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Media/quick-start-make-call-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/Media/quick-start-make-call-ios.png -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-room-call/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '13.0' 2 | use_frameworks! 3 | 4 | 5 | target 'roomsquickstart' do 6 | pod 'AzureCommunicationCalling', '~> 2.5.0' 7 | end -------------------------------------------------------------------------------- /raw-video/RawVideo/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ui-calling/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '14.0' 2 | 3 | target 'UILibraryQuickStart' do 4 | use_frameworks! 5 | pod 'AzureCommunicationUICalling', '1.5.0' 6 | end 7 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ui-chat/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '14.0' 2 | 3 | target 'UILibraryQuickStart' do 4 | use_frameworks! 5 | pod 'AzureCommunicationUIChat', '1.0.0-beta.5' 6 | end 7 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '13.0' 2 | use_frameworks! 3 | 4 | target 'join-call-to-teams-meeting' do 5 | pod 'AzureCommunicationCalling', '1.0.0-beta.12' 6 | end -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## [project-title] Changelog 2 | 3 | 4 | # x.y.z (yyyy-mm-dd) 5 | 6 | *Features* 7 | * ... 8 | 9 | *Bug Fixes* 10 | * ... 11 | 12 | *Breaking Changes* 13 | * ... 14 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '13.0' 2 | use_frameworks! 3 | 4 | target 'join-call-to-teams-meeting' do 5 | pod 'AzureCommunicationCalling', '1.0.0-beta.12' 6 | end -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_RawVideo { 2 | umbrella header "Pods-RawVideo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_RawVideo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_RawVideo 5 | @end 6 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | page_type: sample 3 | languages: 4 | - swift 5 | products: 6 | - azure 7 | - azure-communication-services 8 | --- 9 | 10 | # Quickstart: Add Chat to your App 11 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_iOSVideo { 2 | umbrella header "Pods-iOSVideo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_iOSVideo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_iOSVideo 5 | @end 6 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /raw-video/RawVideo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.modulemap: -------------------------------------------------------------------------------- 1 | framework module AzureCommunicationCommon { 2 | umbrella header "AzureCommunicationCommon-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideoCallKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Chat Teams Interop.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bisteni.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AzureCommunicationCommon : NSObject 3 | @end 4 | @implementation PodsDummy_AzureCommunicationCommon 5 | @end 6 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.modulemap: -------------------------------------------------------------------------------- 1 | framework module AzureCommunicationCommon { 2 | umbrella header "AzureCommunicationCommon-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCommon.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCommon.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bisteni.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/raw-video/RawVideo.xcworkspace/xcuserdata/bisteni.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AzureCommunicationCommon : NSObject 3 | @end 4 | @implementation PodsDummy_AzureCommunicationCommon 5 | @end 6 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo.xcworkspace/xcuserdata/sanathrao.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/raw-video/RawVideo.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcworkspace/xcuserdata/ningxinlan.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/add-chat/ChatQuickstart.xcworkspace/xcuserdata/ningxinlan.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCommon.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCommon.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/AzureCommunicationCalling.framework -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bisteni.xcuserdatad/IDEFindNavigatorScopes.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks.sh 2 | ${PODS_ROOT}/AzureCommunicationCalling/AzureCommunicationCalling.xcframework -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/project.xcworkspace/xcuserdata/bisteni.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/raw-video/RawVideo.xcodeproj/project.xcworkspace/xcuserdata/bisteni.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /raw-video/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | platform :ios, '16.0' 3 | use_frameworks! 4 | 5 | target 'RawVideo' do 6 | project 'RawVideo.xcodeproj' 7 | workspace 'RawVideo.xcworkspace' 8 | 9 | pod 'AzureCommunicationCalling', '2.8.0' 10 | end 11 | -------------------------------------------------------------------------------- /raw-video/RawVideo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "platform" : "ios", 6 | "size" : "1024x1024" 7 | } 8 | ], 9 | "info" : { 10 | "author" : "xcode", 11 | "version" : 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "platform" : "ios", 6 | "size" : "1024x1024" 7 | } 8 | ], 9 | "info" : { 10 | "author" : "xcode", 11 | "version" : 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/project.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/raw-video/RawVideo.xcodeproj/project.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling-xcframeworks.sh 2 | ${PODS_ROOT}/AzureCommunicationCalling/AzureCommunicationCalling.xcframework -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/iOSVideo.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcworkspace/xcuserdata/ningxinlan.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/add-chat-push-notifications/SwiftPushTest.xcworkspace/xcuserdata/ningxinlan.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcodeproj/project.xcworkspace/xcuserdata/akanshagaur.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/add-chat/ChatQuickstart.xcodeproj/project.xcworkspace/xcuserdata/akanshagaur.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/iOSVideo.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/project.xcworkspace/xcuserdata/amylong.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/add-chat-push-notifications/SwiftPushTest.xcodeproj/project.xcworkspace/xcuserdata/amylong.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /add-chat/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'ChatQuickstart' do 5 | pod 'AzureCommunicationChat', '~> 1.3.7' 6 | # Comment the next line if you don't want to use dynamic frameworks 7 | use_frameworks! 8 | 9 | # Pods for ChatQuickstart 10 | 11 | end 12 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideoCallKit.xcodeproj/project.xcworkspace/xcuserdata/sanathrao.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Azure-Samples/communication-services-ios-quickstarts/HEAD/add-video-calling-callkit/iOSVideoCallKit.xcodeproj/project.xcworkspace/xcuserdata/sanathrao.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Chat Teams Interop.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /raw-video/RawVideo/RawVideoApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RawVideoApp.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Amadh Bisteni Aldana on 29/03/23. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct RawVideoApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | ContentView() 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Chat Teams Interop.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/AppSettings.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | token 6 | 7 | endpoint 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /raw-video/RawVideo/CaptureServiceDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CaptureServiceDelegate.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Bisteni Aldana on 02/02/24. 6 | // 7 | 8 | import Foundation 9 | import CoreVideo 10 | 11 | protocol CaptureServiceDelegate : NSObject 12 | { 13 | func OnRawVideoFrameCaptured(cvPixelBuffer: CVPixelBuffer) -> Void 14 | } 15 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Chat Teams Interop.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTestNotificationExtension/SwiftPushTestNotificationExtension.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | 9 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework 3 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework/AzureCommunicationCalling -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-RawVideo/Pods-RawVideo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework 3 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework/AzureCommunicationCalling -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTestNotificationExtension/SwiftPushTestNotificationExtension.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | 9 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework 3 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework/AzureCommunicationCalling -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework 3 | ${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling/AzureCommunicationCalling.framework/AzureCommunicationCalling -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | target 'Chat Teams Interop' do 5 | # Comment the next line if you don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | # Pods for Chat Teams Interop 9 | pod 'AzureCommunicationCalling' 10 | pod 'AzureCommunicationChat' 11 | 12 | end 13 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Chat_Teams_InteropApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Chat_Teams_InteropApp.swift 3 | // Chat Teams Interop 4 | // 5 | // Copyright (c) Microsoft Corporation. 6 | // Licensed under the MIT License. 7 | // 8 | 9 | import SwiftUI 10 | 11 | @main 12 | struct Chat_Teams_InteropApp: App { 13 | var body: some Scene { 14 | WindowGroup { 15 | ContentView() 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/roomsquickstartApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // roomsquickstartApp.swift 3 | // roomsquickstart 4 | // 5 | // Copyright (c) Microsoft Corporation. 6 | // Licensed under the MIT license. 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct roomsquickstartApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | HomePageView() 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.swift 3 | // SwiftPushTest 4 | // 5 | // Created by Matthew Podwysocki on 4/27/22. 6 | // 7 | 8 | import UIKit 9 | 10 | class ViewController: UIViewController { 11 | 12 | override func viewDidLoad() { 13 | super.viewDidLoad() 14 | // Do any additional setup after loading the view. 15 | } 16 | 17 | 18 | } 19 | 20 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/join_call_to_teams_meetingApp.swift: -------------------------------------------------------------------------------- 1 | // 2 | // join_call_to_teams_meetingApp.swift 3 | // join-call-to-teams-meeting 4 | // 5 | // Created by Akansha Gaur on 21/06/21. 6 | // 7 | 8 | import SwiftUI 9 | 10 | @main 11 | struct join_call_to_teams_meetingApp: App { 12 | var body: some Scene { 13 | WindowGroup { 14 | ContentView() 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_RawVideoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_RawVideoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/SwiftPushTest.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.app-sandbox 8 | 9 | com.apple.security.network.client 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/SwiftPushTest.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.app-sandbox 8 | 9 | com.apple.security.network.client 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/SwiftPushTestDebug.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.application-groups 8 | 9 | group.microsoft.contoso 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_iOSVideoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_iOSVideoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/AppSettings.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | acsUserId 6 | 7 | tokenIssuerURL 8 | 9 | initialToken 10 | 11 | acsEndpoint 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/SwiftPushTestDebug.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.application-groups 8 | 9 | group.microsoft.contoso 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/xcuserdata/bisteni.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | RawVideo.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /add-chat-push-notifications/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | page_type: sample 3 | languages: 4 | - swift 5 | products: 6 | - azure 7 | - azure-communication-services 8 | --- 9 | 10 | # Quickstart: Add Chat to your App 11 | 12 | For full instructions on how to build this code sample from scratch, please follow `Prerequisites`, `Implementation` and `Testing` section in [Enable Push Notifications in your chat app](https://docs.microsoft.com/azure/communication-services/tutorials/add-chat-push-notifications). 13 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcodeproj/xcuserdata/bistenijoker.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | RawVideo.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double AzureCommunicationCommonVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AzureCommunicationCommonVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcodeproj/xcuserdata/akanshagaur.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ChatQuickstart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 5 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart.xcodeproj/xcuserdata/ningxinlan.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | ChatQuickstart.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double AzureCommunicationCommonVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char AzureCommunicationCommonVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTestNotificationExtension/SwiftPushTestNotificationExtensionDebug.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.application-groups 8 | 9 | group.microsoft.contoso 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTestNotificationExtension/SwiftPushTestNotificationExtensionDebug.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | com.apple.security.application-groups 8 | 9 | group.microsoft.contoso 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTestNotificationExtension/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSExtension 6 | 7 | NSExtensionPointIdentifier 8 | com.apple.usernotifications.service 9 | NSExtensionPrincipalClass 10 | $(PRODUCT_MODULE_NAME).NotificationService 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTestNotificationExtension/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSExtension 6 | 7 | NSExtensionPointIdentifier 8 | com.apple.usernotifications.service 9 | NSExtensionPrincipalClass 10 | $(PRODUCT_MODULE_NAME).NotificationService 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo.xcworkspace/xcshareddata/swiftpm/Package.resolved: -------------------------------------------------------------------------------- 1 | { 2 | "originHash" : "fa51fbb2b61ee51b0fb87afe4abac9eee1c53f41ce3082ab2c0a51a8fcb32d78", 3 | "pins" : [ 4 | { 5 | "identity" : "swiftpm-azurecommunicationcalling", 6 | "kind" : "remoteSourceControl", 7 | "location" : "https://github.com/Azure/SwiftPM-AzureCommunicationCalling", 8 | "state" : { 9 | "revision" : "b7cac340e3b406211c1292e84ee9f06c18bae763", 10 | "version" : "2.17.0-beta.3" 11 | } 12 | } 13 | ], 14 | "version" : 3 15 | } 16 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIApplicationSceneManifest 6 | 7 | UIApplicationSupportsMultipleScenes 8 | 9 | 10 | NSCameraUsageDescription 11 | Need camera access for video calling 12 | NSMicrophoneUsageDescription 13 | Need microphone access for video calling 14 | 15 | 16 | -------------------------------------------------------------------------------- /raw-video/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.8.0): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationCommon (1.1.1) 5 | 6 | DEPENDENCIES: 7 | - AzureCommunicationCalling (= 2.8.0) 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - AzureCommunicationCalling 12 | - AzureCommunicationCommon 13 | 14 | SPEC CHECKSUMS: 15 | AzureCommunicationCalling: 4c15cc33497ad858aee28561fdd4937cef3049f6 16 | AzureCommunicationCommon: cc520a89f3f8db6d58de42ec4a70cfb79a1b76a3 17 | 18 | PODFILE CHECKSUM: d48399eee113905b1a99e90963e2eaf60a804ad8 19 | 20 | COCOAPODS: 1.15.2 21 | -------------------------------------------------------------------------------- /raw-video/RawVideo.xcworkspace/xcuserdata/bistenijoker.xcuserdatad/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildLocationStyle 6 | UseAppPreferences 7 | CustomBuildLocationType 8 | RelativeToDerivedData 9 | DerivedDataLocationStyle 10 | Default 11 | ShowSharedSchemesAutomaticallyEnabled 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /join-room-call/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.5.1): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationCommon (1.1.1) 5 | 6 | DEPENDENCIES: 7 | - AzureCommunicationCalling (~> 2.5.0) 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - AzureCommunicationCalling 12 | - AzureCommunicationCommon 13 | 14 | SPEC CHECKSUMS: 15 | AzureCommunicationCalling: f1f7b2761eb1bba4d7ed1ba49c72cf9ed458b541 16 | AzureCommunicationCommon: cc520a89f3f8db6d58de42ec4a70cfb79a1b76a3 17 | 18 | PODFILE CHECKSUM: 89915be4b94701bd3407a31818247dad1d13e3c7 19 | 20 | COCOAPODS: 1.11.2 21 | -------------------------------------------------------------------------------- /raw-video/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.8.0): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationCommon (1.1.1) 5 | 6 | DEPENDENCIES: 7 | - AzureCommunicationCalling (= 2.8.0) 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - AzureCommunicationCalling 12 | - AzureCommunicationCommon 13 | 14 | SPEC CHECKSUMS: 15 | AzureCommunicationCalling: 4c15cc33497ad858aee28561fdd4937cef3049f6 16 | AzureCommunicationCommon: cc520a89f3f8db6d58de42ec4a70cfb79a1b76a3 17 | 18 | PODFILE CHECKSUM: d48399eee113905b1a99e90963e2eaf60a804ad8 19 | 20 | COCOAPODS: 1.15.2 21 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.6.0): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationCommon (1.1.1) 5 | 6 | DEPENDENCIES: 7 | - AzureCommunicationCalling (= 2.6.0) 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - AzureCommunicationCalling 12 | - AzureCommunicationCommon 13 | 14 | SPEC CHECKSUMS: 15 | AzureCommunicationCalling: debd642107d6dedccb071d5fd69583677ca10b8b 16 | AzureCommunicationCommon: cc520a89f3f8db6d58de42ec4a70cfb79a1b76a3 17 | 18 | PODFILE CHECKSUM: 0a89af9e3695a72fab825706f93f74e3778988c1 19 | 20 | COCOAPODS: 1.13.0 21 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.6.0): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationCommon (1.1.1) 5 | 6 | DEPENDENCIES: 7 | - AzureCommunicationCalling (= 2.6.0) 8 | 9 | SPEC REPOS: 10 | trunk: 11 | - AzureCommunicationCalling 12 | - AzureCommunicationCommon 13 | 14 | SPEC CHECKSUMS: 15 | AzureCommunicationCalling: debd642107d6dedccb071d5fd69583677ca10b8b 16 | AzureCommunicationCommon: cc520a89f3f8db6d58de42ec4a70cfb79a1b76a3 17 | 18 | PODFILE CHECKSUM: 0a89af9e3695a72fab825706f93f74e3778988c1 19 | 20 | COCOAPODS: 1.13.0 21 | -------------------------------------------------------------------------------- /add-chat-push-notifications/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | platform :ios, '13.0' 3 | 4 | target 'SwiftPushTest' do 5 | # Comment the next line if you don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | pod 'AzureCommunicationChat', '~> 1.3.7' 9 | 10 | # Pods for SwiftPushTest 11 | 12 | end 13 | 14 | target 'SwiftPushTestNotificationExtension' do 15 | # Comment the next line if you don't want to use dynamic frameworks 16 | use_frameworks! 17 | 18 | pod 'AzureCommunicationChat', '~> 1.3.7' 19 | 20 | # Pods for SwiftPushTestNotificationExtension 21 | 22 | end 23 | 24 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment the next line to define a global platform for your project 2 | platform :ios, '13.0' 3 | 4 | target 'SwiftPushTest' do 5 | # Comment the next line if you don't want to use dynamic frameworks 6 | use_frameworks! 7 | 8 | pod 'AzureCommunicationChat', '~> 1.3.7' 9 | 10 | # Pods for SwiftPushTest 11 | 12 | end 13 | 14 | target 'SwiftPushTestNotificationExtension' do 15 | # Comment the next line if you don't want to use dynamic frameworks 16 | use_frameworks! 17 | 18 | pod 'AzureCommunicationChat', '~> 1.3.7' 19 | 20 | # Pods for SwiftPushTestNotificationExtension 21 | 22 | end 23 | 24 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/CallKitHelper.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CallKitHelper.swift 3 | // iOSVideo 4 | // 5 | // Created by Sanath Rao on 6/28/23. 6 | // 7 | 8 | import Foundation 9 | import CallKit 10 | 11 | final class CallKitHelper { 12 | 13 | static func createCXProvideConfiguration() -> CXProviderConfiguration { 14 | let providerConfig = CXProviderConfiguration() 15 | providerConfig.supportsVideo = true 16 | providerConfig.maximumCallsPerCallGroup = 1 17 | providerConfig.includesCallsInRecents = true 18 | providerConfig.supportedHandleTypes = [.phoneNumber, .generic] 19 | return providerConfig 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/xcuserdata/ningxinlan.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SwiftPushTest.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | SwiftPushTestNotificationExtension.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/xcuserdata/matthewpodwysocki.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SwiftPushTest.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | SwiftPushTestNotificationExtension.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideoCallKit.xcodeproj/xcuserdata/sanathrao.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | iOSVideoCallKit.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 3 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | BDCD1EC8261672450039C6B5 16 | 17 | primary 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '13.0' 2 | use_frameworks! 3 | 4 | ACSFrameworkVersion = '2.6.0' 5 | 6 | target 'iOSVideo' do 7 | pod 'AzureCommunicationCalling', ACSFrameworkVersion 8 | end 9 | 10 | post_install do |installer| 11 | app_project = Xcodeproj::Project.open(Dir.glob("*.xcodeproj")[0]) 12 | app_project.native_targets.each do |target| 13 | target.build_configurations.each do |config| 14 | config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)'] 15 | if ACSFrameworkVersion.include?('beta') 16 | config.build_settings['OTHER_SWIFT_FLAGS'] << '-D BETA' 17 | end 18 | app_project.save 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /raw-video/RawVideo/VideoStreamView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RemoteVideoStreamRenderer.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Amadh Bisteni Aldana on 20/04/23. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | import AzureCommunicationCalling 11 | 12 | struct VideoStreamView : UIViewRepresentable 13 | { 14 | @Binding var view: RendererView! 15 | 16 | func makeUIView(context: Context) -> UIView 17 | { 18 | return UIView() 19 | } 20 | 21 | func updateUIView(_ uiView: UIView, context: Context) 22 | { 23 | for view in uiView.subviews 24 | { 25 | view.removeFromSuperview() 26 | } 27 | 28 | if let view = view 29 | { 30 | uiView.addSubview(view) 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /add-chat/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationChat (1.3.7): 3 | - AzureCommunicationCommon (~> 1.2.0) 4 | - AzureCore (= 1.0.0-beta.16) 5 | - Trouter (= 0.2.0) 6 | - AzureCommunicationCommon (1.2.0) 7 | - AzureCore (1.0.0-beta.16) 8 | - Trouter (0.2.0) 9 | 10 | DEPENDENCIES: 11 | - AzureCommunicationChat (~> 1.3.7) 12 | 13 | SPEC REPOS: 14 | trunk: 15 | - AzureCommunicationChat 16 | - AzureCommunicationCommon 17 | - AzureCore 18 | - Trouter 19 | 20 | SPEC CHECKSUMS: 21 | AzureCommunicationChat: 2997f9ce17f7663e503684f7aa4312f6954a65ee 22 | AzureCommunicationCommon: 130a21be2be889f83dc4adbf994af6285f962de8 23 | AzureCore: 1e940658808f94fdf6a23264febfc516fb59fe3e 24 | Trouter: 7eab36954ad740e32db3ff9f6025b0dff92193d7 25 | 26 | PODFILE CHECKSUM: cbeffb036e12595e7aaaf131a3039e47408bd561 27 | 28 | COCOAPODS: 1.16.2 29 | -------------------------------------------------------------------------------- /add-chat-push-notifications/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationChat (1.3.7): 3 | - AzureCommunicationCommon (~> 1.2.0) 4 | - AzureCore (= 1.0.0-beta.16) 5 | - Trouter (= 0.2.0) 6 | - AzureCommunicationCommon (1.2.0) 7 | - AzureCore (1.0.0-beta.16) 8 | - Trouter (0.2.0) 9 | 10 | DEPENDENCIES: 11 | - AzureCommunicationChat (~> 1.3.7) 12 | 13 | SPEC REPOS: 14 | trunk: 15 | - AzureCommunicationChat 16 | - AzureCommunicationCommon 17 | - AzureCore 18 | - Trouter 19 | 20 | SPEC CHECKSUMS: 21 | AzureCommunicationChat: 2997f9ce17f7663e503684f7aa4312f6954a65ee 22 | AzureCommunicationCommon: 130a21be2be889f83dc4adbf994af6285f962de8 23 | AzureCore: 1e940658808f94fdf6a23264febfc516fb59fe3e 24 | Trouter: 7eab36954ad740e32db3ff9f6025b0dff92193d7 25 | 26 | PODFILE CHECKSUM: dc4e01f85ecc1617d38711dc59b1ed2f49ba889a 27 | 28 | COCOAPODS: 1.16.2 29 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationChat (1.3.7): 3 | - AzureCommunicationCommon (~> 1.2.0) 4 | - AzureCore (= 1.0.0-beta.16) 5 | - Trouter (= 0.2.0) 6 | - AzureCommunicationCommon (1.2.0) 7 | - AzureCore (1.0.0-beta.16) 8 | - Trouter (0.2.0) 9 | 10 | DEPENDENCIES: 11 | - AzureCommunicationChat (~> 1.3.7) 12 | 13 | SPEC REPOS: 14 | trunk: 15 | - AzureCommunicationChat 16 | - AzureCommunicationCommon 17 | - AzureCore 18 | - Trouter 19 | 20 | SPEC CHECKSUMS: 21 | AzureCommunicationChat: 2997f9ce17f7663e503684f7aa4312f6954a65ee 22 | AzureCommunicationCommon: 130a21be2be889f83dc4adbf994af6285f962de8 23 | AzureCore: 1e940658808f94fdf6a23264febfc516fb59fe3e 24 | Trouter: 7eab36954ad740e32db3ff9f6025b0dff92193d7 25 | 26 | PODFILE CHECKSUM: dc4e01f85ecc1617d38711dc59b1ed2f49ba889a 27 | 28 | COCOAPODS: 1.16.2 29 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/AppSettings.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppSettings.swift 3 | // SwiftPushTest 4 | // 5 | // Created by NINGXIN LAN on 2022-07-27. 6 | // 7 | 8 | import Foundation 9 | 10 | class AppSettings { 11 | 12 | private var settings: [String: Any] = [:] 13 | 14 | var token: String { 15 | return settings["token"] as! String 16 | } 17 | 18 | var endpoint: String { 19 | return settings["endpoint"] as! String 20 | } 21 | 22 | init() { 23 | if let url = Bundle.main.url(forResource: "AppSettings", withExtension: "plist") { 24 | do { 25 | let data = try Data(contentsOf: url) 26 | settings = try (PropertyListSerialization.propertyList(from: data, format: nil) as? [String: Any])! 27 | } catch { 28 | print(error) 29 | } 30 | } 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bistenijoker.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AppCenter.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | AzureCommunicationCommon.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | Pods-RawVideo.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bisteni.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AzureCommunicationCalling.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | AzureCommunicationCommon.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | Pods-RawVideo.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Pods.xcodeproj/xcuserdata/sanathrao.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | AzureCommunicationCalling.xcscheme 8 | 9 | isShown 10 | 11 | orderHint 12 | 0 13 | 14 | AzureCommunicationCommon.xcscheme 15 | 16 | isShown 17 | 18 | orderHint 19 | 1 20 | 21 | Pods-iOSVideo.xcscheme 22 | 23 | isShown 24 | 25 | orderHint 26 | 2 27 | 28 | 29 | SuppressBuildableAutocreation 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIApplicationSceneManifest 6 | 7 | UIApplicationSupportsMultipleScenes 8 | 9 | UISceneConfigurations 10 | 11 | UIWindowSceneSessionRoleApplication 12 | 13 | 14 | UISceneConfigurationName 15 | Default Configuration 16 | UISceneDelegateClassName 17 | $(PRODUCT_MODULE_NAME).SceneDelegate 18 | UISceneStoryboardFile 19 | Main 20 | 21 | 22 | 23 | 24 | NSCameraUsageDescription 25 | 26 | NSMicrophoneUsageDescription 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIApplicationSceneManifest 6 | 7 | UIApplicationSupportsMultipleScenes 8 | 9 | UISceneConfigurations 10 | 11 | UIWindowSceneSessionRoleApplication 12 | 13 | 14 | UISceneConfigurationName 15 | Default Configuration 16 | UISceneDelegateClassName 17 | $(PRODUCT_MODULE_NAME).SceneDelegate 18 | UISceneStoryboardFile 19 | Main 20 | 21 | 22 | 23 | 24 | NSCameraUsageDescription 25 | 26 | NSMicrophoneUsageDescription 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCommon 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCommon 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCommon 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCommon 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIApplicationSceneManifest 6 | 7 | UIApplicationSupportsMultipleScenes 8 | 9 | UISceneConfigurations 10 | 11 | UIWindowSceneSessionRoleApplication 12 | 13 | 14 | UISceneConfigurationName 15 | Default Configuration 16 | UISceneDelegateClassName 17 | $(PRODUCT_MODULE_NAME).SceneDelegate 18 | UISceneStoryboardFile 19 | Main 20 | 21 | 22 | 23 | 24 | UIBackgroundModes 25 | 26 | fetch 27 | processing 28 | remote-notification 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 4 | > Please provide us with the following information: 5 | > --------------------------------------------------------------- 6 | 7 | ### This issue is for a: (mark with an `x`) 8 | ``` 9 | - [ ] bug report -> please search issues before submitting 10 | - [ ] feature request 11 | - [ ] documentation issue or request 12 | - [ ] regression (a behavior that used to work and stopped in a new release) 13 | ``` 14 | 15 | ### Minimal steps to reproduce 16 | > 17 | 18 | ### Any log messages given by the failure 19 | > 20 | 21 | ### Expected/desired behavior 22 | > 23 | 24 | ### OS and Version? 25 | > Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) 26 | 27 | ### Versions 28 | > 29 | 30 | ### Mention any other details that might be useful 31 | 32 | > --------------------------------------------------------------- 33 | > Thanks! We'll be in touch soon. 34 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCommon/AzureCommunicationCommon-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /join-chat-to-teams-meeting/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AzureCommunicationCalling (2.15.1): 3 | - AzureCommunicationCommon (~> 1.0) 4 | - AzureCommunicationChat (1.3.7): 5 | - AzureCommunicationCommon (~> 1.2.0) 6 | - AzureCore (= 1.0.0-beta.16) 7 | - Trouter (= 0.2.0) 8 | - AzureCommunicationCommon (1.2.0) 9 | - AzureCore (1.0.0-beta.16) 10 | - Trouter (0.2.0) 11 | 12 | DEPENDENCIES: 13 | - AzureCommunicationCalling 14 | - AzureCommunicationChat 15 | 16 | SPEC REPOS: 17 | trunk: 18 | - AzureCommunicationCalling 19 | - AzureCommunicationChat 20 | - AzureCommunicationCommon 21 | - AzureCore 22 | - Trouter 23 | 24 | SPEC CHECKSUMS: 25 | AzureCommunicationCalling: a374d99e6c6c6f4589c61eeb59ca193aea48727e 26 | AzureCommunicationChat: 2997f9ce17f7663e503684f7aa4312f6954a65ee 27 | AzureCommunicationCommon: 130a21be2be889f83dc4adbf994af6285f962de8 28 | AzureCore: 1e940658808f94fdf6a23264febfc516fb59fe3e 29 | Trouter: 7eab36954ad740e32db3ff9f6025b0dff92193d7 30 | 31 | PODFILE CHECKSUM: 5aed26765b7acae60a0b14ad10c1ab356fffce14 32 | 33 | COCOAPODS: 1.16.2 34 | -------------------------------------------------------------------------------- /raw-video/RawVideo/CaptureService.swift: -------------------------------------------------------------------------------- 1 | // 2 | // CaptureService.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Bisteni Aldana on 01/02/24. 6 | // 7 | 8 | import Foundation 9 | import AzureCommunicationCalling 10 | 11 | class CaptureService : NSObject 12 | { 13 | let stream: RawOutgoingVideoStream 14 | var delegate: ((RawVideoFrameBuffer) -> Void)? 15 | 16 | init(stream: RawOutgoingVideoStream) 17 | { 18 | self.stream = stream 19 | } 20 | 21 | func SendRawVideoFrame(rawVideoFrameBuffer: RawVideoFrameBuffer) -> Void 22 | { 23 | if (CanSendRawVideoFrames()) 24 | { 25 | stream.send(frame: rawVideoFrameBuffer) { error in 26 | 27 | } 28 | 29 | if (delegate != nil) 30 | { 31 | delegate!(rawVideoFrameBuffer) 32 | } 33 | } 34 | } 35 | 36 | private func CanSendRawVideoFrames() -> Bool 37 | { 38 | return stream != nil && 39 | stream.format != nil && 40 | stream.state == .started 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Purpose 2 | 3 | * ... 4 | 5 | ## Does this introduce a breaking change? 6 | 7 | ``` 8 | [ ] Yes 9 | [ ] No 10 | ``` 11 | 12 | ## Pull Request Type 13 | What kind of change does this Pull Request introduce? 14 | 15 | 16 | ``` 17 | [ ] Bugfix 18 | [ ] Feature 19 | [ ] Code style update (formatting, local variables) 20 | [ ] Refactoring (no functional changes, no api changes) 21 | [ ] Documentation content changes 22 | [ ] Other... Please describe: 23 | ``` 24 | 25 | ## How to Test 26 | * Get the code 27 | 28 | ``` 29 | git clone [repo-address] 30 | cd [repo-name] 31 | git checkout [branch-name] 32 | npm install 33 | ``` 34 | 35 | * Test the code 36 | 37 | ``` 38 | ``` 39 | 40 | ## What to Check 41 | Verify that the following are valid 42 | * ... 43 | 44 | ## Other Information 45 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BGTaskSchedulerPermittedIdentifiers 6 | 7 | com.contoso.app.refresh 8 | 9 | UIApplicationSceneManifest 10 | 11 | UIApplicationSupportsMultipleScenes 12 | 13 | UISceneConfigurations 14 | 15 | UIWindowSceneSessionRoleApplication 16 | 17 | 18 | UISceneConfigurationName 19 | Default Configuration 20 | UISceneDelegateClassName 21 | $(PRODUCT_MODULE_NAME).SceneDelegate 22 | UISceneStoryboardFile 23 | Main 24 | 25 | 26 | 27 | 28 | UIBackgroundModes 29 | 30 | fetch 31 | processing 32 | remote-notification 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/xcuserdata/amylong.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | SwiftPushTest.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 0 11 | 12 | SwiftPushTestNotificationExtension.xcscheme_^#shared#^_ 13 | 14 | orderHint 15 | 1 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 93F3620A2819D05200A1A7C9 21 | 22 | primary 23 | 24 | 25 | 93F362202819D05400A1A7C9 26 | 27 | primary 28 | 29 | 30 | 93F3622A2819D05400A1A7C9 31 | 32 | primary 33 | 34 | 35 | 93F362422819DCC300A1A7C9 36 | 37 | primary 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCalling 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCalling 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCalling 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCalling 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCalling 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCalling 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/AzureCommunicationCalling/AzureCommunicationCalling.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCalling 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/AzureCommunicationCalling 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE -------------------------------------------------------------------------------- /raw-video/Pods/AzureCommunicationCommon/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 8 | OTHER_LDFLAGS = $(inherited) -framework "AzureCommunicationCalling" -framework "AzureCommunicationCommon" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/AzureCommunicationCommon/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /raw-video/Pods/Target Support Files/Pods-RawVideo/Pods-RawVideo.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 8 | OTHER_LDFLAGS = $(inherited) -framework "AzureCommunicationCalling" -framework "AzureCommunicationCommon" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 8 | OTHER_LDFLAGS = $(inherited) -framework "AzureCommunicationCalling" -framework "AzureCommunicationCommon" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Target Support Files/Pods-iOSVideo/Pods-iOSVideo.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon" "${PODS_ROOT}/AzureCommunicationCalling" "${PODS_XCFRAMEWORKS_BUILD_DIR}/AzureCommunicationCalling" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/AzureCommunicationCommon/AzureCommunicationCommon.framework/Headers" 6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks' 7 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift 8 | OTHER_LDFLAGS = $(inherited) -framework "AzureCommunicationCalling" -framework "AzureCommunicationCommon" 9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 10 | PODS_BUILD_DIR = ${BUILD_DIR} 11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 13 | PODS_ROOT = ${SRCROOT}/Pods 14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /raw-video/RawVideo/RawVideoFrameView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // VideoPreviewVideo.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Amadh Bisteni Aldana on 30/03/23. 6 | // 7 | 8 | import Foundation 9 | import SwiftUI 10 | import CoreVideo 11 | 12 | struct RawVideoFrameView : UIViewRepresentable 13 | { 14 | @Binding var cvPixelBuffer: CVPixelBuffer? 15 | 16 | func makeUIView(context: Context) -> UIImageView 17 | { 18 | let imageView = UIImageView() 19 | return imageView 20 | } 21 | 22 | func updateUIView(_ uiView: UIImageView, context: Context) 23 | { 24 | guard let pixelBuffer = cvPixelBuffer else { 25 | return 26 | } 27 | 28 | var ciImage = CIImage(cvPixelBuffer: pixelBuffer) 29 | 30 | let w = ciImage.extent.width 31 | let h = ciImage.extent.height 32 | let viewW = uiView.bounds.width; 33 | let viewH = uiView.bounds.height; 34 | let scaleFactorX = viewW / w; 35 | let scaleFactorY = viewH / h; 36 | 37 | // Fit 38 | let scale = min(scaleFactorX, scaleFactorY) 39 | 40 | var transform = CGAffineTransform.identity 41 | transform = transform.scaledBy(x: scale, y: scale) 42 | 43 | ciImage = ciImage.transformed(by: transform) 44 | 45 | let uiImage = UIImage(ciImage: ciImage) 46 | uiView.image = uiImage 47 | uiView.contentMode = .scaleAspectFit 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License. 4 | // 5 | 6 | import UIKit 7 | 8 | @main 9 | class AppDelegate: UIResponder, UIApplicationDelegate { 10 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 11 | // Override point for customization after application launch. 12 | return true 13 | } 14 | 15 | // MARK: UISceneSession Lifecycle 16 | 17 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 18 | // Called when a new scene session is being created. 19 | // Use this method to select a configuration to create the new scene with. 20 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 21 | } 22 | 23 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { 24 | // Called when the user discards a scene session. 25 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 26 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License. 4 | // 5 | 6 | import UIKit 7 | 8 | @main 9 | class AppDelegate: UIResponder, UIApplicationDelegate { 10 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 11 | // Override point for customization after application launch. 12 | return true 13 | } 14 | 15 | // MARK: UISceneSession Lifecycle 16 | 17 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 18 | // Called when a new scene session is being created. 19 | // Use this method to select a configuration to create the new scene with. 20 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 21 | } 22 | 23 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { 24 | // Called when the user discards a scene session. 25 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 26 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // ChatQuickstart 4 | // 5 | // Created by Akansha Gaur on 30/04/21. 6 | // 7 | 8 | import UIKit 9 | 10 | @main 11 | class AppDelegate: UIResponder, UIApplicationDelegate { 12 | 13 | 14 | 15 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 16 | // Override point for customization after application launch. 17 | return true 18 | } 19 | 20 | // MARK: UISceneSession Lifecycle 21 | 22 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { 23 | // Called when a new scene session is being created. 24 | // Use this method to select a configuration to create the new scene with. 25 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 26 | } 27 | 28 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) { 29 | // Called when the user discards a scene session. 30 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 31 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 32 | } 33 | 34 | 35 | } 36 | 37 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/ViewController.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import UIKit 28 | 29 | class ViewController: UIViewController { 30 | 31 | override func viewDidLoad() { 32 | super.viewDidLoad() 33 | // Do any additional setup after loading the view. 34 | } 35 | 36 | 37 | } 38 | 39 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/README.md: -------------------------------------------------------------------------------- 1 | --- 2 | page_type: sample 3 | languages: 4 | - swift 5 | products: 6 | - azure 7 | - AzureCommunicationCalling 8 | --- 9 | 10 | # Quickstart: Join your calling app to a Teams meeting 11 | 12 | For full instructions on how to build this code sample from scratch, look at [Quickstart: Join your calling app to a Teams meeting](https://docs.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/get-started-teams-interop?pivots=platform-ios) 13 | 14 | ## Prerequisites 15 | 16 | To complete this tutorial, you’ll need the following prerequisites: 17 | 18 | - A working [Communication Services calling iOS app](https://docs.microsoft.com/azure/communication-services/quickstarts/voice-video-calling/getting-started-with-calling). 19 | - A [Teams deployment](https://docs.microsoft.com/deployoffice/teams-install). 20 | 21 | 22 | 23 | ## Before running sample code 24 | 25 | **Get the Teams meeting link** 26 | 27 | The Teams meeting link can be retrieved using Graph APIs. This is detailed in [Graph documentation](https://docs.microsoft.com/graph/api/onlinemeeting-createorget?tabs=http&view=graph-rest-beta&preserve-view=true). The Communication Services Calling SDK accepts a full Teams meeting link. This link is returned as part of the **onlineMeeting** resource, accessible under the [joinWebUrl property](https://docs.microsoft.com/graph/api/resources/onlinemeeting?view=graph-rest-beta&preserve-view=true). You can also get the required meeting information from the **Join Meeting** URL in the Teams meeting invite itself. 28 | 29 | ## Run the sample 30 | 31 | **Launch the app and join Teams meeting** 32 | 33 | - You can build and run your app on iOS simulator by selecting Product > Run or by using the (⌘-R) keyboard shortcut. 34 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/ViewController.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License. 4 | // 5 | 6 | import UIKit 7 | import AzureCommunicationCalling 8 | import AzureCommunicationUICalling 9 | 10 | class ViewController: UIViewController { 11 | 12 | private var callComposite: CallComposite? 13 | 14 | override func viewDidLoad() { 15 | super.viewDidLoad() 16 | 17 | let button = UIButton(frame: CGRect(x: 100, y: 100, width: 200, height: 50)) 18 | var configuration = UIButton.Configuration.filled() 19 | configuration.baseBackgroundColor = .systemBlue 20 | configuration.contentInsets = .init(top: 10.0, leading: 20.0, bottom: 10.0, trailing: 20.0) 21 | button.configuration = configuration 22 | button.layer.cornerRadius = 10 23 | button.setTitle("Start Experience", for: .normal) 24 | button.addTarget(self, action: #selector(startCallComposite), for: .touchUpInside) 25 | 26 | button.translatesAutoresizingMaskIntoConstraints = false 27 | self.view.addSubview(button) 28 | button.centerXAnchor.constraint(equalTo: view.centerXAnchor).isActive = true 29 | button.centerYAnchor.constraint(equalTo: view.centerYAnchor).isActive = true 30 | } 31 | 32 | @objc private func startCallComposite() { 33 | let callCompositeOptions = CallCompositeOptions(displayName: "") 34 | let communicationTokenCredential = try! CommunicationTokenCredential(token: "") 35 | 36 | callComposite = CallComposite(credential: communicationTokenCredential, withOptions: callCompositeOptions) 37 | 38 | callComposite?.launch(locator: .groupCall(groupId: UUID(uuidString: "")!)) 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest.xcodeproj/xcuserdata/amylong.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 9 | 21 | 22 | 23 | 25 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /raw-video/RawVideo/ScreenCaptureService.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ScreenCaptureService.swift 3 | // RawVideo 4 | // 5 | // Created by Yassir Bisteni Aldana on 01/02/24. 6 | // 7 | 8 | import Foundation 9 | import ReplayKit 10 | import AzureCommunicationCalling 11 | 12 | class ScreenCaptureService : CaptureService 13 | { 14 | var screenRecorder: RPScreenRecorder = RPScreenRecorder.shared() 15 | 16 | func Start() -> Void 17 | { 18 | screenRecorder = RPScreenRecorder.shared() 19 | if screenRecorder.isAvailable 20 | { 21 | screenRecorder.startCapture(handler: captureOutput) 22 | } 23 | } 24 | 25 | func Stop() -> Void 26 | { 27 | screenRecorder.stopCapture() 28 | } 29 | 30 | func captureOutput(sampleBuffer: CMSampleBuffer, sampleBufferType: RPSampleBufferType, error: Error?) -> Void 31 | { 32 | if sampleBufferType != RPSampleBufferType.video 33 | { 34 | return 35 | } 36 | 37 | guard let pixelBuffer = CMSampleBufferGetImageBuffer(sampleBuffer) else 38 | { 39 | return 40 | } 41 | 42 | let format = stream.format 43 | if format != nil 44 | { 45 | let width = CVPixelBufferGetWidth(pixelBuffer) 46 | let height = CVPixelBufferGetHeight(pixelBuffer) 47 | let bytesPerRow = CVPixelBufferGetBytesPerRow(pixelBuffer) 48 | 49 | let rawVideoFrameBuffer = RawVideoFrameBuffer() 50 | rawVideoFrameBuffer.buffer = pixelBuffer 51 | 52 | format.width = Int32(width) 53 | format.height = Int32(height) 54 | format.stride1 = Int32(bytesPerRow) 55 | rawVideoFrameBuffer.streamFormat = format 56 | 57 | SendRawVideoFrame(rawVideoFrameBuffer: rawVideoFrameBuffer) 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSMicrophoneUsageDescription 6 | Need microphone access for VOIP calling. 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UIApplicationSceneManifest 26 | 27 | UIApplicationSupportsMultipleScenes 28 | 29 | 30 | UIApplicationSupportsIndirectInputEvents 31 | 32 | UILaunchScreen 33 | 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | UIInterfaceOrientationLandscapeRight 43 | 44 | UISupportedInterfaceOrientations~ipad 45 | 46 | UIInterfaceOrientationPortrait 47 | UIInterfaceOrientationPortraitUpsideDown 48 | UIInterfaceOrientationLandscapeLeft 49 | UIInterfaceOrientationLandscapeRight 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /add-chat-push-notifications/SwiftPushTest/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "2x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "83.5x83.5" 82 | }, 83 | { 84 | "idiom" : "ios-marketing", 85 | "scale" : "1x", 86 | "size" : "1024x1024" 87 | } 88 | ], 89 | "info" : { 90 | "author" : "xcode", 91 | "version" : 1 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "2x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "83.5x83.5" 82 | }, 83 | { 84 | "idiom" : "ios-marketing", 85 | "scale" : "1x", 86 | "size" : "1024x1024" 87 | } 88 | ], 89 | "info" : { 90 | "author" : "xcode", 91 | "version" : 1 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /add-video-calling-callkit/README.md: -------------------------------------------------------------------------------- 1 | # Quickstart: Add 1 on 1 video calling to your app 2 | In this quickstart we are going to get started with Azure Communication Services by using the Communication Services calling client library to add 1 on 1 video calling to your app. You'll learn how to start and answer a video call using the Azure Communication Services Calling client library for iOS. 3 | 4 | ## Prerequisites 5 | - Obtain an Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/en-us/free/?WT.mc_id=A261C142F). 6 | - A Mac running [Xcode](https://developer.apple.com/xcode/), along with a valid developer certificate installed into your Keychain. 7 | - Create an active Communication Services resource. [Create a Communication Services resource](https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp). 8 | - Create a User Access Token to instantiate the call client. [Learn how to create and manage user access tokens](https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-csharp). 9 | 10 | ## Setting up 11 | ### Installing CocoaPods 12 | Please use this guide to [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html) on your Mac. 13 | 14 | ### Install the package and dependencies with CocoaPods 15 | 1. To create a Podfile for your application open the terminal and navigate to the project folder and run pod init. 16 | 17 | 2. Add the following code to the Podfile and save: 18 | ``` 19 | platform :ios, '13.0' 20 | use_frameworks! 21 | 22 | target 'VideoCallingQuickstart' do 23 | pod 'AzureCommunicationCalling', '~> 1.0.0' 24 | end 25 | ``` 26 | 3. Run pod install. 27 | 28 | ## Run the code 29 | Before running the sample, you need to replace the "" with the User Access Token you created in prerequisites. 30 | You can build an run your app on iOS simulator by selecting Product > Run or by using the (⌘-R) keyboard shortcut. 31 | -------------------------------------------------------------------------------- /join-room-call/README.md: -------------------------------------------------------------------------------- 1 | # Quickstart: Add Room Calling to your app 2 | In this quickstart we are going to get started with Azure Communication Services by using the Communication Services calling client library to add Room calling to your app. You'll learn how to join a Room call using the Azure Communication Services Calling SDK for iOS. 3 | 4 | ## Prerequisites 5 | - Obtain an Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/en-us/free/?WT.mc_id=A261C142F). 6 | - A Mac running [Xcode](https://developer.apple.com/xcode/), along with a valid developer certificate installed into your Keychain. 7 | - Create an active Communication Services resource. [Create a Communication Services resource](https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/create-communication-resource?tabs=windows&pivots=platform-azp). 8 | - Create a User Access Token to instantiate the call client. [Learn how to create and manage user access tokens](https://docs.microsoft.com/en-gb/azure/communication-services/quickstarts/access-tokens?pivots=programming-language-csharp). 9 | - Create a Room and add that user as a participant in it 10 | 11 | ## Setting up 12 | ### Installing CocoaPods 13 | Please use this guide to [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html) on your Mac. 14 | 15 | ### Install the package and dependencies with CocoaPods 16 | 1. To create a Podfile for your application open the terminal and navigate to the project folder and run pod init. 17 | 18 | 2. Add the following code to the Podfile and save: 19 | ``` 20 | platform :ios, '13.0' 21 | use_frameworks! 22 | 23 | target 'roomsquickstart' do 24 | pod 'AzureCommunicationCalling', '~> 2.5.0' 25 | end 26 | ``` 27 | 3. Run pod install. 28 | 29 | ## Run the code 30 | Before running the sample, you need to replace the "" in HomePageView.swift with the User Access Token you created in prerequisites. 31 | You can build an run your app on iOS simulator by selecting Product > Run or by using the (⌘-R) keyboard shortcut. 32 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /ui-calling/UILibraryQuickStart/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /join-call-to-teams-meeting/join-call-to-teams-meeting/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "scale" : "1x", 46 | "size" : "20x20" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "scale" : "2x", 51 | "size" : "20x20" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "scale" : "1x", 56 | "size" : "29x29" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "scale" : "2x", 61 | "size" : "29x29" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "scale" : "1x", 66 | "size" : "40x40" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "scale" : "2x", 71 | "size" : "40x40" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "scale" : "1x", 76 | "size" : "76x76" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "scale" : "2x", 81 | "size" : "76x76" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "scale" : "2x", 86 | "size" : "83.5x83.5" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "scale" : "1x", 91 | "size" : "1024x1024" 92 | } 93 | ], 94 | "info" : { 95 | "author" : "xcode", 96 | "version" : 1 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /raw-video/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/Authentication/CommunicationTokenCredentialProviding.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | /** 29 | Protocol defining the shape of credentials used with Azure Communication Services. 30 | */ 31 | public protocol CommunicationTokenCredentialProviding { 32 | /** 33 | Retrieve an access token from the credential. 34 | - Parameter completionHandler: Closure that accepts an optional `AccessToken` or optional `Error` as parameters. `AccessToken` returns a token and an expiry date if applicable. 35 | `Error` returns `nil` if the current token can be returned. 36 | */ 37 | func token(completionHandler: @escaping CommunicationTokenCompletionHandler) 38 | } 39 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/Authentication/CommunicationTokenCredentialProviding.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | /** 29 | Protocol defining the shape of credentials used with Azure Communication Services. 30 | */ 31 | public protocol CommunicationTokenCredentialProviding { 32 | /** 33 | Retrieve an access token from the credential. 34 | - Parameter completionHandler: Closure that accepts an optional `AccessToken` or optional `Error` as parameters. `AccessToken` returns a token and an expiry date if applicable. 35 | `Error` returns `nil` if the current token can be returned. 36 | */ 37 | func token(completionHandler: @escaping CommunicationTokenCompletionHandler) 38 | } 39 | -------------------------------------------------------------------------------- /raw-video/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/Authentication/CommunicationAccessToken.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | /** 29 | Represents an Azure service bearer access token with expiry information. 30 | */ 31 | @objcMembers public class CommunicationAccessToken: NSObject { 32 | public let token: String 33 | public let expiresOn: Date 34 | /** 35 | Creates a new instance of CommunicationAccessToken using the provided `token` and `expiresOn`. 36 | - Parameter token: The bearer access token value 37 | - Parameter expiresOn: The bearer access token expiry date. 38 | */ 39 | public init(token: String, expiresOn: Date) { 40 | self.token = token 41 | self.expiresOn = expiresOn 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/Authentication/CommunicationAccessToken.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | /** 29 | Represents an Azure service bearer access token with expiry information. 30 | */ 31 | @objcMembers public class CommunicationAccessToken: NSObject { 32 | public let token: String 33 | public let expiresOn: Date 34 | /** 35 | Creates a new instance of CommunicationAccessToken using the provided `token` and `expiresOn`. 36 | - Parameter token: The bearer access token value 37 | - Parameter expiresOn: The bearer access token expiry date. 38 | */ 39 | public init(token: String, expiresOn: Date) { 40 | self.token = token 41 | self.expiresOn = expiresOn 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /add-video-calling/iOSVideo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleURLSchemes 20 | msauth.com.microsoft.iOSVideo 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSCameraUsageDescription 26 | Need camera access for video calling 27 | NSMicrophoneUsageDescription 28 | Need microphone access for video calling 29 | UIApplicationSceneManifest 30 | 31 | UIApplicationSupportsMultipleScenes 32 | 33 | 34 | UIApplicationSupportsIndirectInputEvents 35 | 36 | UIBackgroundModes 37 | 38 | audio 39 | remote-notification 40 | voip 41 | 42 | UILaunchScreen 43 | 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | 52 | UISupportedInterfaceOrientations~ipad 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationPortraitUpsideDown 56 | UIInterfaceOrientationLandscapeLeft 57 | UIInterfaceOrientationLandscapeRight 58 | 59 | URL types 60 | msauth.com.microsoft.iOSVideo 61 | 62 | 63 | -------------------------------------------------------------------------------- /add-video-calling-callkit/iOSVideo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleURLSchemes 20 | msauth.com.microsoft.iOSVideo 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | NSCameraUsageDescription 26 | Need camera access for video calling 27 | NSMicrophoneUsageDescription 28 | Need microphone access for video calling 29 | UIApplicationSceneManifest 30 | 31 | UIApplicationSupportsMultipleScenes 32 | 33 | 34 | UIApplicationSupportsIndirectInputEvents 35 | 36 | UIBackgroundModes 37 | 38 | audio 39 | remote-notification 40 | voip 41 | 42 | UILaunchScreen 43 | 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | 52 | UISupportedInterfaceOrientations~ipad 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationPortraitUpsideDown 56 | UIInterfaceOrientationLandscapeLeft 57 | UIInterfaceOrientationLandscapeRight 58 | 59 | URL types 60 | msauth.com.microsoft.iOSVideo 61 | 62 | 63 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bistenijoker.xcuserdatad/xcschemes/AppCenter.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bisteni.xcuserdatad/xcschemes/Pods-RawVideo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bistenijoker.xcuserdatad/xcschemes/Pods-RawVideoApp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /add-chat/ChatQuickstart/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UIApplicationSceneManifest 24 | 25 | UIApplicationSupportsMultipleScenes 26 | 27 | UISceneConfigurations 28 | 29 | UIWindowSceneSessionRoleApplication 30 | 31 | 32 | UISceneConfigurationName 33 | Default Configuration 34 | UISceneDelegateClassName 35 | $(PRODUCT_MODULE_NAME).SceneDelegate 36 | UISceneStoryboardFile 37 | Main 38 | 39 | 40 | 41 | 42 | UIApplicationSupportsIndirectInputEvents 43 | 44 | UILaunchStoryboardName 45 | LaunchScreen 46 | UIMainStoryboardFile 47 | Main 48 | UIRequiredDeviceCapabilities 49 | 50 | armv7 51 | 52 | UISupportedInterfaceOrientations 53 | 54 | UIInterfaceOrientationPortrait 55 | UIInterfaceOrientationLandscapeLeft 56 | UIInterfaceOrientationLandscapeRight 57 | 58 | UISupportedInterfaceOrientations~ipad 59 | 60 | UIInterfaceOrientationPortrait 61 | UIInterfaceOrientationPortraitUpsideDown 62 | UIInterfaceOrientationLandscapeLeft 63 | UIInterfaceOrientationLandscapeRight 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Pods.xcodeproj/xcuserdata/sanathrao.xcuserdatad/xcschemes/Pods-iOSVideo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bisteni.xcuserdatad/xcschemes/AzureCommunicationCalling.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bisteni.xcuserdatad/xcschemes/AzureCommunicationCommon.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /raw-video/Pods/Pods.xcodeproj/xcuserdata/bistenijoker.xcuserdatad/xcschemes/AzureCommunicationCommon.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Pods.xcodeproj/xcuserdata/sanathrao.xcuserdatad/xcschemes/AzureCommunicationCalling.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/Pods.xcodeproj/xcuserdata/sanathrao.xcuserdatad/xcschemes/AzureCommunicationCommon.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 43 | 44 | 50 | 51 | 53 | 54 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Azure Communication Services iOS SDK 2 | 3 | Azure Communication Services enable developers to add communication capabilities to their applications. 4 | 5 | ## Prerequisites 6 | 7 | - An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). 8 | - A Mac running [Xcode](https://go.microsoft.com/fwLink/p/?LinkID=266532), along with a valid developer certificate installed into your Keychain. 9 | - A deployed Communication Services resource. [Create a Communication Services resource](https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/create-communication-resource). 10 | - Run `pod install`, then open the `.xcworkspace` file. Fill in the required variables, then build and run the project. 11 | 12 | ## Quickstarts 13 | 14 | ### Calling SDK Quickstarts 15 | 1. [Add Voice Calling to your iOS App](https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/getting-started-with-calling?pivots=platform-ios) 16 | 2. [Add Video Calling to your iOS App](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-video-calling?pivots=platform-ios) 17 | 4. [Add Telephone Calling to your iOS App](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/telephony/pstn-call?pivots=platform-ios) 18 | 6. [Handle Calling Events](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/handle-calling-events) 19 | 7. [Raw media Access](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-raw-media-access?pivots=platform-ios) 20 | 21 | ### Chat SDK Quickstarts 22 | 1. [Add Chat to your iOS App](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/chat/get-started?tabs=windows&pivots=programming-language-swift) 23 | 2. [Using Chat SDK with React Native](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/chat/react-native) 24 | 25 | ### UI Libraries 26 | 1. [Getting Started with Calling UI Libraries](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/ui-library/get-started-composites?pivots=platform-ios) 27 | 2. [Getting Started with Chat UI Libraries](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/ui-library/get-started-chat-ui-library?pivots=platform-ios) 28 | -------------------------------------------------------------------------------- /join-room-call/roomsquickstart/Views/ParticipantView.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ParticipantView.swift 3 | // roomsquickstart 4 | // 5 | // Copyright (c) Microsoft Corporation. 6 | // Licensed under the MIT license. 7 | 8 | import SwiftUI 9 | import AzureCommunicationCalling 10 | import Combine 11 | 12 | struct ParticipantView : View, Hashable { 13 | static func == (lhs: ParticipantView, rhs: ParticipantView) -> Bool { 14 | return lhs.participant.getMri() == rhs.participant.getMri() 15 | } 16 | 17 | private let owner: HomePageView 18 | 19 | @State var showPopUp: Bool = false 20 | @State var videoHeight = CGFloat(200) 21 | @ObservedObject private var participant:Participant 22 | 23 | var body: some View { 24 | ZStack { 25 | if (participant.rendererView != nil) { 26 | HStack { 27 | RenderInboundVideoView(view: $participant.rendererView) 28 | } 29 | .background(Color(.black)) 30 | .frame(height: videoHeight) 31 | .animation(Animation.default) 32 | } else { 33 | HStack { 34 | Text("No incoming video") 35 | } 36 | .background(Color(.red)) 37 | .frame(height: videoHeight) 38 | } 39 | } 40 | } 41 | 42 | func hash(into hasher: inout Hasher) { 43 | hasher.combine(participant.getMri()) 44 | } 45 | 46 | init(_ owner: HomePageView, _ participant: Participant) { 47 | self.owner = owner 48 | self.participant = participant 49 | } 50 | 51 | func resizeVideo() { 52 | videoHeight = videoHeight == 200 ? 150 : 200 53 | } 54 | 55 | func showAlert(_ title: String, _ message: String) { 56 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { 57 | self.owner.alertMessage = message 58 | self.owner.showAlert = true 59 | } 60 | } 61 | } 62 | 63 | struct RenderInboundVideoView: UIViewRepresentable { 64 | @Binding var view:RendererView! 65 | 66 | func makeUIView(context: Context) -> UIView { 67 | return UIView() 68 | } 69 | 70 | func updateUIView(_ uiView: UIView, context: Context) { 71 | for view in uiView.subviews { 72 | view.removeFromSuperview() 73 | } 74 | if (view != nil) { 75 | uiView.addSubview(view) 76 | } 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /raw-video/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/CommunicationCloudEnvironment.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | 29 | @objcMembers public class CommunicationCloudEnvironment: NSObject { 30 | private var environmentValue: String 31 | 32 | public static let Public = CommunicationCloudEnvironment(environmentValue: "public") 33 | public static let Dod = CommunicationCloudEnvironment(environmentValue: "dod") 34 | public static let Gcch = CommunicationCloudEnvironment(environmentValue: "gcch") 35 | 36 | public init(environmentValue: String) { 37 | self.environmentValue = environmentValue 38 | } 39 | 40 | public func getEnvironmentValue() -> String { 41 | return environmentValue 42 | } 43 | 44 | public static func == (lhs: CommunicationCloudEnvironment, rhs: CommunicationCloudEnvironment) -> Bool { 45 | if lhs.environmentValue == rhs.environmentValue { 46 | return true 47 | } else { 48 | return false 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /add-video-calling-callkit/Pods/AzureCommunicationCommon/sdk/communication/AzureCommunicationCommon/Source/CommunicationCloudEnvironment.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | 29 | @objcMembers public class CommunicationCloudEnvironment: NSObject { 30 | private var environmentValue: String 31 | 32 | public static let Public = CommunicationCloudEnvironment(environmentValue: "public") 33 | public static let Dod = CommunicationCloudEnvironment(environmentValue: "dod") 34 | public static let Gcch = CommunicationCloudEnvironment(environmentValue: "gcch") 35 | 36 | public init(environmentValue: String) { 37 | self.environmentValue = environmentValue 38 | } 39 | 40 | public func getEnvironmentValue() -> String { 41 | return environmentValue 42 | } 43 | 44 | public static func == (lhs: CommunicationCloudEnvironment, rhs: CommunicationCloudEnvironment) -> Bool { 45 | if lhs.environmentValue == rhs.environmentValue { 46 | return true 47 | } else { 48 | return false 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /add-chat-push-notifications-auto-renew/SwiftPushTest/AppSettings.swift: -------------------------------------------------------------------------------- 1 | // -------------------------------------------------------------------------- 2 | // 3 | // Copyright (c) Microsoft Corporation. All rights reserved. 4 | // 5 | // The MIT License (MIT) 6 | // 7 | // Permission is hereby granted, free of charge, to any person obtaining a copy 8 | // of this software and associated documentation files (the ""Software""), to 9 | // deal in the Software without restriction, including without limitation the 10 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 11 | // sell copies of the Software, and to permit persons to whom the Software is 12 | // furnished to do so, subject to the following conditions: 13 | // 14 | // The above copyright notice and this permission notice shall be included in 15 | // all copies or substantial portions of the Software. 16 | // 17 | // THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 23 | // IN THE SOFTWARE. 24 | // 25 | // -------------------------------------------------------------------------- 26 | 27 | import Foundation 28 | 29 | class AppSettings { 30 | 31 | private var settings: [String: Any] = [:] 32 | 33 | var acsUserId: String { 34 | return settings["acsUserId"] as! String 35 | } 36 | 37 | var initialToken: String { 38 | return settings["initialToken"] as! String 39 | } 40 | 41 | var tokenIssuerURL: String? { 42 | return settings["tokenIssuerURL"] as? String 43 | } 44 | 45 | var acsEndpoint: String { 46 | return settings["acsEndpoint"] as! String 47 | } 48 | 49 | init() { 50 | if let url = Bundle.main.url(forResource: "AppSettings", withExtension: "plist") { 51 | do { 52 | let data = try Data(contentsOf: url) 53 | settings = try (PropertyListSerialization.propertyList(from: data, format: nil) as? [String: Any])! 54 | } catch { 55 | print("Error reading AppSettings.plist: \(error)") 56 | } 57 | } 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /ui-chat/UILibraryQuickStart/SceneDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Copyright (c) Microsoft Corporation. All rights reserved. 3 | // Licensed under the MIT License. 4 | // 5 | 6 | import UIKit 7 | 8 | class SceneDelegate: UIResponder, UIWindowSceneDelegate { 9 | var window: UIWindow? 10 | 11 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { 12 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`. 13 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene. 14 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead). 15 | guard let _ = (scene as? UIWindowScene) else { return } 16 | } 17 | 18 | func sceneDidDisconnect(_ scene: UIScene) { 19 | // Called as the scene is being released by the system. 20 | // This occurs shortly after the scene enters the background, or when its session is discarded. 21 | // Release any resources associated with this scene that can be re-created the next time the scene connects. 22 | // The scene may re-connect later, as its session was not necessarily discarded (see `application:didDiscardSceneSessions` instead). 23 | } 24 | 25 | func sceneDidBecomeActive(_ scene: UIScene) { 26 | // Called when the scene has moved from an inactive state to an active state. 27 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive. 28 | } 29 | 30 | func sceneWillResignActive(_ scene: UIScene) { 31 | // Called when the scene will move from an active state to an inactive state. 32 | // This may occur due to temporary interruptions (ex. an incoming phone call). 33 | } 34 | 35 | func sceneWillEnterForeground(_ scene: UIScene) { 36 | // Called as the scene transitions from the background to the foreground. 37 | // Use this method to undo the changes made on entering the background. 38 | } 39 | 40 | func sceneDidEnterBackground(_ scene: UIScene) { 41 | // Called as the scene transitions from the foreground to the background. 42 | // Use this method to save data, release shared resources, and store enough scene-specific state information 43 | // to restore the scene back to its current state. 44 | } 45 | } 46 | 47 | --------------------------------------------------------------------------------