public interface ITXLivePushListener
Modifier and Type | Method and Description |
---|---|
void |
onNetStatus(Bundle status)
网络状态通知。
|
void |
onPushEvent(int event,
Bundle param)
推流事件通知。
|
void onNetStatus(Bundle status)
status
- 通知的内容。(key,value)格式,其中 key 请参考 TXLiveConstants.NET_STATUS_VIDEO_BITRATE
网络状态通知。void onPushEvent(int event, Bundle param)
event
- 事件 id。id 类型请参考 TXLiveConstants.PUSH_EVT_CONNECT_SUCC
推流事件列表。param
- 事件相关的参数。(key,value)格式,其中 key 请参考 TXLiveConstants.EVT_TIME
事件参数。