v2.3.0 到 v2.4.0 升级说明

import "VHallApi.h"
-(BOOL)application:(UIApplication)application didFinishLaunchingWithOptions:(NSDictionary )launchOptions
{
[VHallApi registerApp:AppKey SecretKey:AppSecretKey];//新增
}
VHallLivePublish.h
- (void)startLive:(NSDictionary*)param;//参数发生变化,去掉AppKey和AppSecretKey
- (void)stopLive; //结束直播 用于替换原来disconnect方法 与startLive成对出现,如果调用startLive,则需要调用stopLive以释放相应资源
- (void)disconnect; //方法不再用于结束直播,只用于手动断开直播流, 断开推流的连接,注意app进入后台时要手动调用此方法、切回到前台需reconnect重新推流。(注:特别需要使用disconnect的地方都改成stopLive)
bitRate -> videoBitRate //比特率属性变为videoBitRate
VHallMoviePlayer.h
-(BOOL)startPlay:(NSDictionary)param;//参数发生变化,去掉AppKey和AppSecretKey
-(void)startPlayback:(NSDictionary)param moviePlayer:(MPMoviePlayerController *)moviePlayerController; //参数发生变化,去掉AppKey和AppSecretKey
修改于 2025-05-27 11:59:31