STSLiveStreamerDelegate
@protocol STSLiveStreamerDelegate <NSObject>
Implements the STSLiveStreamerDelegate protocol to respond to streaming event.
-
Called when an error occurs when the liveStreamer connects to a server or streams.
Declaration
Objective-C
- (void)liveStreamer:(nonnull STSLiveStreamer *)liveStreamer onError:(nonnull NSError *)error streamingURL:(nullable NSURL *)streamingURL;Swift
func liveStreamer(_ liveStreamer: STSLiveStreamer, onError error: Error, streamingURL: URL?)Parameters
liveStreamerThe liveStreamer that sent the message.
errorThe error object containing the error information.
streamingURLThe streaming URL related to this error.
View on GitHub
Install in Dash
STSLiveStreamerDelegate Protocol Reference