support live streaming
This commit is contained in:
parent
09286fbb0f
commit
1cafb91105
2 changed files with 20 additions and 9 deletions
|
@ -36,6 +36,7 @@ impl Application for App {
|
|||
.unwrap(),
|
||||
)
|
||||
.unwrap(),
|
||||
false,
|
||||
)
|
||||
.unwrap(),
|
||||
pause_btn: Default::default(),
|
||||
|
@ -53,7 +54,9 @@ impl Application for App {
|
|||
Message::TogglePause => {
|
||||
self.video.set_paused(!self.video.paused());
|
||||
}
|
||||
Message::VideoPlayerMessage(msg) => self.video.update(msg),
|
||||
Message::VideoPlayerMessage(msg) => {
|
||||
self.video.update(msg);
|
||||
}
|
||||
}
|
||||
|
||||
Command::none()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue