mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2025-12-06 18:32:50 +08:00
* rewrite * update submodule * make width height configurable * update dependency * update * update file * update dep * fix basic config layout * update plugin management * more stuff * add blacklist * fix todo * fix windows gethandle * update windows update guide * update windows build guide * include go mod tidy in script * update todo * fix source session * fix text output * add plugin play duration control * fix id diange not working * update todo * update version number
23 lines
490 B
Go
23 lines
490 B
Go
package events
|
|
|
|
import "AynaLivePlayer/core/model"
|
|
|
|
const PlayerVideoPlayerSetWindowHandleCmd = "cmd.player.videoplayer.set_window_handle"
|
|
|
|
type PlayerVideoPlayerSetWindowHandleCmdEvent struct {
|
|
Handle uintptr
|
|
}
|
|
|
|
const PlayerSetAudioDeviceCmd = "cmd.player.set_audio_device"
|
|
|
|
type PlayerSetAudioDeviceCmdEvent struct {
|
|
Device string
|
|
}
|
|
|
|
const PlayerAudioDeviceUpdate = "update.player.audio_device"
|
|
|
|
type PlayerAudioDeviceUpdateEvent struct {
|
|
Current string
|
|
Devices []model.AudioDevice
|
|
}
|