4 #import <Foundation/Foundation.h> 5 #import <WebRTC/RTCMacros.h> 6 NS_ASSUME_NONNULL_BEGIN
20 - (instancetype)init NS_UNAVAILABLE;
24 - (void)stats:(
void (^)(NSArray<RTCLegacyStatsReport*>* stats))onSuccess
25 onFailure:(nullable
void (^)(NSError*))onFailure;
26 @property(nonatomic, weak) id<OWTP2PPublicationDelegate> delegate;
Publication represents a sender for publishing a stream.
Definition: OWTP2PPublication.h:19
void stop()
Stop certain publication. Once a subscription is stopped, it cannot be recovered. ...
Definition: OWTP2PPublication.h:9