◆ enableHWAduioTempo:
+ (void) enableHWAduioTempo: |
|
(bool) |
enable |
|
设置是否使能硬件提供的音频变速播放能力,关闭后则使用软件实现音频的倍速播放,pcm回调数据的格式和此设置关联,如果修改,请在同一个线程操作,默认打开
◆ forceAudioRendingFormat:fmt:channels:sample_rate:
+ (void) forceAudioRendingFormat: |
|
(bool) |
force |
fmt: |
|
(NSString *) |
fmt |
channels: |
|
(int) |
channels |
sample_rate: |
|
(int) |
sample_rate |
|
|
| |
强制音频渲染器采用指定的格式进行渲染,如果设定的格式设备不支持,则无效,无效值将被忽略,使用默认值;pcm回调数据的格式和此设置关联,如果修改,请在同一个线程操作,默认关闭
- Parameters
-
force | 打开/关闭 强制设置 |
fmt | 设置pcm的格式,目前只支持s16,16位有符号整数 |
channels | 设置pcm的声道数,有效值 1~8 |
sample_rate | 设置pcm的采样率,有效值 1~48000 |
◆ setDNSResolve:ip:
+ (void) setDNSResolve: |
|
(NSString *) |
host |
ip: |
|
(NSString *) |
ip |
|
|
| |
设置域名对应的解析ip
- Parameters
-
host | 域名,需指定端口(http默认端口80,https默认端口443)。例如player.alicdn.com:443 |
ip | 相应的ip,设置为空字符串清空设定。 |
◆ setFairPlayCertID:
+ (void) setFairPlayCertID: |
|
(NSString *) |
certID |
|
设置fairPlay的用户证书id, 每次设置必须在同一个线程,否则无法更新
- Parameters
-
◆ setIpResolveType:
The documentation for this class was generated from the following file: