Major improvements to UnifiedPlayer: 1. GetFrameImage() now works when paused for responsive UI updates 2. Play() method properly starts FFmpeg process 3. Frame display loop runs continuously for smooth video display 4. Disabled audio temporarily to fix video playback fundamentals 5. Simplified FFmpeg command to focus on video stream only Player now: - Generates video frames correctly - Shows video when paused - Has responsive progress tracking - Starts playback properly Next steps: Re-enable audio playback once video is stable
34 lines
750 B
Go
34 lines
750 B
Go
package embedded
|
|
|
|
import "fyne.io/fyne/v2"
|
|
|
|
// TouchDownEvent is for indicating that an embedded device touch screen or pointing device was pressed.
|
|
//
|
|
// Since: 2.7
|
|
type TouchDownEvent struct {
|
|
Position fyne.Position
|
|
ID int
|
|
}
|
|
|
|
func (t *TouchDownEvent) isEvent() {}
|
|
|
|
// TouchMoveEvent is for indicating that an embedded device touch screen or pointing device was moved whilst being pressed.
|
|
//
|
|
// Since: 2.7
|
|
type TouchMoveEvent struct {
|
|
Position fyne.Position
|
|
ID int
|
|
}
|
|
|
|
func (t *TouchMoveEvent) isEvent() {}
|
|
|
|
// TouchUpEvent is for indicating that an embedded device touch screen or pointing device was released.
|
|
//
|
|
// Since: 2.7
|
|
type TouchUpEvent struct {
|
|
Position fyne.Position
|
|
ID int
|
|
}
|
|
|
|
func (t *TouchUpEvent) isEvent() {}
|