Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for iOS*
OWTStream.h
1 // Copyright (C) <2018> Intel Corporation
2 //
3 // SPDX-License-Identifier: Apache-2.0
4 #import <Foundation/Foundation.h>
5 #import <WebRTC/RTCMacros.h>
6 #import <WebRTC/RTCVideoRenderer.h>
7 NS_ASSUME_NONNULL_BEGIN
9 @class RTCMediaStream;
11 RTC_OBJC_EXPORT
12 @interface OWTStream : NSObject
13 // Writable because mediaStream is subscribed after OWTRemoteStream is created in conference mode.
14 @property(nonatomic, strong, readwrite) RTCMediaStream* mediaStream;
15 @property(nonatomic, strong, readonly) OWTStreamSourceInfo* source;
16 - (instancetype)init /*NS_UNAVAILABLE*/;
23 - (void)attach:(NSObject<RTCVideoRenderer>*)renderer;
29 - (NSDictionary<NSString*, NSString*>*)attributes;
30 @end
31 NS_ASSUME_NONNULL_END
NSDictionary< NSString *, NSString * > * attributes()
Returns a user-defined attribute dictionary.
Base class of all streams in the SDK.
Definition: OWTStream.h:12
Information of a stream&#39;s source.
Definition: OWTMediaFormat.h:117