AVAppToDevMessageType
public typealias AVAppToDevMessageType = CFFmpeg.AVAppToDevMessageType
-
Dummy message.
Declaration
Swift
public static let none: AVAppToDevMessageType
-
Window size change message.
Message is sent to the device every time the application changes the size of the window device renders to. Message should also be sent right after window is created.
data:
AVDeviceRect
: new window size.Declaration
Swift
public static let windowSize: AVAppToDevMessageType
-
Repaint request message.
Message is sent to the device when window has to be repainted.
data:
AVDeviceRect
: area required to be repainted.nil
: whole area is required to be repainted.Declaration
Swift
public static let windowRepaint: AVAppToDevMessageType
-
Request pause/play.
Application requests pause/unpause playback. Mostly usable with devices that have internal buffer. By default devices are not paused.
data:
nil
.Declaration
Swift
public static let pause: AVAppToDevMessageType
-
Undocumented
Declaration
Swift
public static let togglePause: AVAppToDevMessageType
-
Volume control message.
Set volume level. It may be device-dependent if volume is changed per stream or system wide. Per stream volume change is expected when possible.
data:
Double
: new volume with range of 0.0 - 1.0.Declaration
Swift
public static let setVolume: AVAppToDevMessageType
-
Mute control messages.
Change mute state. It may be device-dependent if mute status is changed per stream or system wide. Per stream mute status change is expected when possible.
data:
nil
.Declaration
Swift
public static let mute: AVAppToDevMessageType
-
Undocumented
Declaration
Swift
public static let unmute: AVAppToDevMessageType
-
Undocumented
Declaration
Swift
public static let toggleMute: AVAppToDevMessageType
-
Get volume/mute messages.
Force the device to send
AVDevToAppMessageType.volumeLevelChanged
orAVDevToAppMessageType.muteStateChanged
command respectively.data:
nil
.Declaration
Swift
public static let getVolume: AVAppToDevMessageType
-
Undocumented
Declaration
Swift
public static let getMute: AVAppToDevMessageType