...
Code Block | ||||
---|---|---|---|---|
| ||||
- (FPWCSApi2Session *)connect { FPWCSApi2SessionOptions *options = [[FPWCSApi2SessionOptions alloc] init]; options.urlServer = _connectUrl.text; options.appKey = @"defaultApp"; NSError *error; FPWCSApi2Session *session = [FPWCSApi2 createSession:options error:&error]; ... [session connect]; return session; } |
3. Preparing cvustom custom source to capture
The source is initialized once on first publishStream invokation
...