Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries details about video encoders.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
AVRecorder | 9.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
AVSession | The ID for the AVRecorder session as returned by AVRecorder.Init. | $AVSession |
Index | The index of the device from 0 to AVRecorder.VideoDeviceCount-1 or the name or ID of the device. | 0 |
Selector | Which value to return. Can be ID, Name, Description, Index. On Mac can also be manufacturer, modelID, transportType, connected, inUseByAnotherApplication or suspended. |
"Name" |
Returns value or error.
Query available encoders:
Set Variable [ $a ; Value: MBS("AVRecorder.Init") ]
Set Variable [ $count ; Value: MBS("AVRecorder.EncoderCount"; $a) ]
Set Variable [ $index ; Value: 0 ]
Loop
Set Variable [ $name ; Value: MBS("AVRecorder.EncoderInfo"; $a; $index; "name") ]
Set Variable [ $description ; Value: MBS("AVRecorder.EncoderInfo"; $a; $index; "description") ]
#
Show Custom Dialog [ $name ; $description ]
#
Set Variable [ $index ; Value: $index + 1 ]
Exit Loop If [ $index ≥ $count ]
End Loop
This function checks for a license.
Created 24th February 2019, last changed 25th July 2023