ECPlayerView Class Reference
| Inherits from | UIView |
|---|---|
| Conforms to | RTCEAGLVideoViewDelegate |
| Declared in | ECPlayerView.h ECPlayerView.m |
Initializers
– initWithLiveStream:
Create a Player View with a given stream that is being consumed.
- (instancetype)initWithLiveStream:(ECStream *)liveStreamParameters
liveStream |
The stream that is being consumed by the client. For example you can initialize a player right after ECRoomDelegate has fired ECRoomDelegate:didSubscribeStream passing the ECStream object to this initializer. |
|---|
Return Value
instancetype
See Also
Declared In
ECPlayerView.h
– initWithLiveStream:frame:
Create a Player View with the given stream that is being consumed in a custom frame.
- (instancetype)initWithLiveStream:(ECStream *)liveStream frame:(CGRect)frameParameters
liveStream |
The stream that is being consumed by the client. |
|---|---|
frame |
Custom frame where this control should be rendered. |
Return Value
instancetype
See Also
Declared In
ECPlayerView.h
– removeRenderer
Remove the current assigned rendered for this player
- (void)removeRendererDeclared In
ECPlayerView.h