Media_RegisterLicensedEncoder ( encoder ; regCode )
Media_RegisterLicensedEncoder unlocks a licensed encoder.
Parameter | Description |
---|---|
encoder | An encoder name to unlock. Currently only “AAC” is supported. |
regCodeth> | A registration code. The parameter must include the user name and the registration code separated by a pipe “|” character. |
Responses
When the registration succeeds, the response is:
Registered AAC
When an error occurs, the response contains the code $20005 and is one of the following strings:
$20005:Invalid registration AAC
– for an invalid unlock code$20005:Unknown encoder name (must be AAC)
– for an invalid encoder name$20005:Before registering AAC, MediaManager must be registered with the same user name
– for mismatching AAC unlock code with Media_Register regCode.
Examples
Set Field [ MyTable::result ; Media_RegisterLicensedEncoder( “AAC” ; “My Company|XXXXXXX” ) ]