This commit is contained in:
xiongziliang 2018-02-06 11:39:52 +08:00
parent 4f072eb36a
commit fa5f90599c

View File

@ -90,11 +90,11 @@ typedef std::function<void(bool success, const string &errMessage)> AuthInvoker;
//收到rtmp推流事件广播通过该事件控制推流鉴权 //收到rtmp推流事件广播通过该事件控制推流鉴权
extern const char kBroadcastRtmpPublish[]; extern const char kBroadcastRtmpPublish[];
#define BroadcastRtmpPublishArgs MediaInfo &args,Broadcast::AuthInvoker &invoker #define BroadcastRtmpPublishArgs const MediaInfo &args,const Broadcast::AuthInvoker &invoker
//播放rtsp或rtmp事件广播通过该事件控制播放鉴权 //播放rtsp或rtmp事件广播通过该事件控制播放鉴权
extern const char kBroadcastMediaPlayed[]; extern const char kBroadcastMediaPlayed[];
#define BroadcastMediaPlayedArgs MediaInfo &args,Broadcast::AuthInvoker &invoker #define BroadcastMediaPlayedArgs const MediaInfo &args,const Broadcast::AuthInvoker &invoker
} //namespace Broadcast } //namespace Broadcast