зеркало из https://github.com/nextcloud/talk-ios.git
33 строки
768 B
Objective-C
33 строки
768 B
Objective-C
//
|
|
// NCSignalingController.h
|
|
// VideoCalls
|
|
//
|
|
// Created by Ivan Sein on 01.10.17.
|
|
// Copyright © 2017 struktur AG. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#import "NCRoom.h"
|
|
#import "NCSignalingMessage.h"
|
|
|
|
@class NCSignalingController;
|
|
|
|
@protocol NCSignalingControllerObserver <NSObject>
|
|
|
|
- (void)signalingController:(NCSignalingController *)signalingController didReceiveSignalingMessage:(NSDictionary *)message;
|
|
|
|
@end
|
|
|
|
@interface NCSignalingController : NSObject
|
|
|
|
@property (nonatomic, weak) id<NCSignalingControllerObserver> observer;
|
|
|
|
- (instancetype)initForRoom:(NCRoom *)room;
|
|
- (NSArray *)getIceServers;
|
|
- (void)startPullingSignalingMessages;
|
|
- (void)sendSignalingMessage:(NCSignalingMessage *)message;
|
|
- (void)stopAllRequests;
|
|
|
|
@end
|