Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
GSVideoService.h
1 //
2 // GSVideoService.h
3 // SipEndpoint
4 //
5 // Created by Valery Polishchuk on 7/4/12.
6 // Copyright (c) 2012 Genesys Labs. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "GSVideoStreamPolicyDelegate.h"
11 #import "GSVideoStreamNotificationDelegate.h"
12 #import "GSVideoStreamConfiguration.h"
13 
14 @protocol GSVideoService <NSObject>
15 
23 - (GSResult) startLocalVideoWithConfiguration:(GSVideoStreamConfiguration*) configuration;
24 
33 - (GSResult) startIncomingVideoForSession:(id<GSSession>) session withConfiguration:(GSVideoStreamConfiguration*) configuration;
34 
43 - (GSResult) startOutgoingVideoForSession:(id<GSSession>) session withConfiguration:(GSVideoStreamConfiguration*) configuration;
44 
50 - (GSResult) stopLocalVideo;
51 
59 - (GSResult) stopIncomingVideoForSession:(id<GSSession>) session;
60 
68 - (GSResult) stopOutgoingVideoForSession:(id<GSSession>) session;
69 
73 @property (nonatomic, assign) id<GSVideoStreamPolicyDelegate> policyDelegate;
74 
78 @property (nonatomic, assign) id<GSVideoStreamNotificationDelegate> notificationDelegate;
79 
80 @end