Skip to content

dbcrystal/VideoControlPanel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

VideoControlPanel

How to use

You can use videoContolPanel by adding code:

videoControlPanel = [[VideoControlPanel alloc] initWithFrame:view.frame];
videoControlPanel.delegate = self;
//Set as you want
[videoControlPanel setVideoControlPanelStreamPauseControlEnable:YES];
[videoControlPanel setVideoControlPanelBrightnessControlEnable:YES];
[videoControlPanel setVideoControlPanelVolumeControlEnable:YES];
[videoControlPanel setVideoControlPanelStreamProgressControlEnable:YES];

[view addSubview:videoControlPanel];

VideoControlPanelDelegate

//Capture pause stream command
- (void)videoControlPanelDidCapturedPauseGesture;

//user is dragging with control state
- (void)videoControlPanelDetectDraggingGestureWithControlState:(VideoControlPanelState)controlState andOffset:(CGFloat)offset;

//user did stop dragging gesture with control state
- (void)videoControlPanelDidEndDragGestureWithControlState:(VideoControlPanelState)controlState andOffset:(CGFloat)offset;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published