Red5Pro IOS Client SDK

 7.3.0
Core SDK for IOS
R5VideoViewController.h
1 //
2 // R5VideoViewController.h
3 // Red5Pro
4 //
5 // Created by Andy Zupko on 9/17/14.
6 // Copyright (c) 2014 Infrared5. All rights reserved.
7 //
8 
9 #import <GLKit/GLKit.h>
10 #import "R5Stream.h"
11 #import "R5VideoViewRenderer.h"
12 
16 @interface R5VideoViewController : UIViewController<GLKViewDelegate, R5VideoViewRendererDelegate>
17 
21 @property int preferredFPS;
22 
28 -(void) attachStream:(R5Stream *)videoStream;
29 
30 //
32 // * Renderer hook invoked by R5VideoViewController to update the rendering display.
33 // *
34 // * @param view The underlying GLKView
35 // */
36 //- (void)updateRender:(GLKView *)view;
37 
41 -(void) resetContext;
42 
48 -(void) showPreview:(BOOL)visible;
49 
55 -(void) showDebugInfo:(BOOL)debug;
56 
62 -(void)setFrame:(CGRect) frame;
63 
64 -(void)pauseRender;
65 -(void)resumeRender;
66 
70 @property (nonatomic) r5_scale_mode scaleMode;
71 
77 @property (nonatomic, strong) R5VideoViewRenderer *renderer;
78 
79 @end
r5_scale_mode
Definition: global.h:141
The VideoView for all R5Streaming. When publishing, it will contain the camera view. While subscribing it will render all incoming stream data. Streams will be cropped to fit the aspect ratio of the view.
Definition: R5VideoViewController.h:16
int preferredFPS
Definition: R5VideoViewController.h:21
R5VideoViewRenderer * renderer
Definition: R5VideoViewController.h:77
The main stream class of Red5Pro. Utilizes the R5Connection to connect and communicate with a server ...
Definition: R5Stream.h:42
r5_scale_mode scaleMode
Definition: R5VideoViewController.h:70