Skip to content

Commit

Permalink
(ios): fix audio blackscreen
Browse files Browse the repository at this point in the history
Fixes the bug where video is blank after playing audio(because of overlay from audio player).
  • Loading branch information
BardiaKh authored and shamilovtim committed Aug 25, 2018
1 parent 2d9eef1 commit d97d92b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ios/StreamingMedia.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ -(void)parseOptions:(NSDictionary *)options type:(NSString *) type {
} else {
backgroundColor = [UIColor blackColor];
}
} else {
// Reset overlay on video player after playing audio
[self cleanup];
}
// No specific options for video yet
}
Expand Down

0 comments on commit d97d92b

Please sign in to comment.