![]() |
AlivcLivePusher
v6.17.0
Aliyun Live Pusher API Reference Manual for iOS Platforms
|
Callbacks related to network status. More...
Instance Methods | |
(void) | - onConnectFail:error: |
The callback for failed pusher engine. More... | |
(void) | - onConnectionLost: |
The callback for disconnected stream pusher. More... | |
(void) | - onConnectionStatusChange:connectionStatus:reason: |
Callback when network connection status changes. More... | |
(void) | - onConnectRecovery: |
The callback for network recovery. More... | |
(void) | - onLastmileDetectResultWithBandWidth:code:result: |
Callback of network quality detection results. More... | |
(void) | - onLastmileDetectResultWithQuality:networkQuality: |
Network quality detection callback. More... | |
(void) | - onNetworkPoor: |
The callback for poor network. More... | |
(void) | - onPacketsLost: |
The callback for audio/video packet loss due to network reasons. More... | |
(void) | - onPusherNetworkQualityChanged:upNetworkQuality:downNetworkQuality: |
The message that is sent when the network quality changes. More... | |
(NSString *) | - onPushURLAuthenticationOverdue: |
The callback for expiring signed URL. More... | |
(void) | - onPushURLTokenExpired: |
The token of the streaming URL has expired. More... | |
(void) | - onPushURLTokenWillExpire: |
The token of the streaming URL is about to expire (this callback will be sent within 30s before expiration) More... | |
(void) | - onReconnectError:error: |
The callback for failed reconnection. More... | |
(void) | - onReconnectStart: |
The callback for reconnection attempt. More... | |
(void) | - onReconnectSuccess: |
The callback for successful reconnection. More... | |
(void) | - onSendDataTimeout: |
The callback for data transmission timeout. More... | |
(void) | - onSendSeiMessage: |
The callback for prompt to send an SEI message. More... | |
Callbacks related to network status.
|
required |
The callback for failed pusher engine.
pusher | The live pusher engine object |
error | The error message AlivcLivePushError |
|
required |
The callback for disconnected stream pusher.
pusher | The live pusher engine object |
|
required |
Callback when network connection status changes.
pusher | The live pusher engine object |
status | Current status value, corresponding value reference enumeration AliLiveConnectionStatus |
reason | The specific reason causing the status change, the corresponding value refers to the enumeration AliLiveConnectionStatusChangeReason |
|
required |
The callback for network recovery.
pusher | The live pusher engine object |
|
required |
Callback of network quality detection results.
pusher | The live pusher engine object |
code | Detection results,0: success, -1: DNS acquisition failed, -2: ICMP module initialization failed, -3: ICMP sending failed for a long time, -4: ICMP cannot be accepted(It is recommended to allow broadcasting) |
result | network result AliLiveNetworkQualityProbeResult |
|
required |
Network quality detection callback.
pusher | The live pusher engine object |
networkQuality | network quality AlivcLiveNetworkQuality |
|
required |
The callback for poor network.
pusher | The live pusher engine object |
|
optional |
The callback for audio/video packet loss due to network reasons.
pusher | The live pusher engine object |
|
required |
The message that is sent when the network quality changes.
pusher | The live pusher engine object |
upQuality | up network quality |
downQuality | down network quality |
|
required |
The callback for expiring signed URL.
(This callback is sent 1 minute before the signed URL expires.)
pusher | The live pusher engine object |
|
required |
The token of the streaming URL has expired.
pusher | The live pusher engine object |
|
required |
The token of the streaming URL is about to expire (this callback will be sent within 30s before expiration)
pusher | The live pusher engine object |
|
required |
The callback for failed reconnection.
pusher | The live pusher engine object |
error | The error message AlivcLivePushError |
|
required |
The callback for reconnection attempt.
pusher | The live pusher engine object |
|
required |
The callback for successful reconnection.
pusher | The live pusher engine object |
|
required |
The callback for data transmission timeout.
pusher | The live pusher engine object |
|
required |
The callback for prompt to send an SEI message.
pusher | The live pusher engine object |