Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for iOS*
OWTStream Class Reference

Base class of all streams in the SDK. More...

#import <OWTStream.h>

Inheritance diagram for OWTStream:
Collaboration diagram for OWTStream:

Instance Methods

(instancetype) - init
 
(void) - attach:
 Attach the stream's first video track to a renderer. More...
 
(NSDictionary< NSString *, NSString * > *) - attributes
 Returns a user-defined attribute dictionary. More...
 

Properties

RTCMediaStream * mediaStream
 
OWTStreamSourceInfosource
 

Detailed Description

Base class of all streams in the SDK.

Method Documentation

◆ attach:()

- (void) attach: (NSObject< RTCVideoRenderer > *)  renderer

Attach the stream's first video track to a renderer.

The render doesn't retain this stream. Using this method is not recommended. It will be removed in the future. please use [RTCVideoTrack addRenderer] instead.

◆ attributes()

- (NSDictionary<NSString*, NSString*>*) attributes

Returns a user-defined attribute dictionary.

These attributes are defined by publisher. P2P mode always return empty dictionary because it is not supported yet.