MillicastSDK 2.0.0
|
#include <track.h>
Additional Inherited Members | |
Public Types inherited from millicast::WebrtcRemoteTrack | |
enum | Kind { AUDIO , VIDEO } |
The webrtc logical track's video interface.
|
default |
|
pure virtual |
Add the video renderer.
The track can have multiple renderers set.
renderer | the renderer. |
|
pure virtual |
Get the RTS track which is currently projected onto this webrtc track.
Note: properly written applications should rely on the asynchronous status of the project() operation only.
|
pure virtual |
Enable the reception of frame metadata. Invoke this method so that you can start receiving FrameMetadata events.
enabled | true to enable frame metadata, otherwise false to disable it. |
millicast::WebrtcRemoteVideoTrack::MC_DISABLE_COPY_AND_ASSIGN | ( | WebrtcRemoteVideoTrack | ) |
|
pure virtual |
Enable the track and project from given RTS track.
Note that unlike the simple API for the RTS track, this API is more flexible, but requires more handling by the application. Specifically:
You can project the same RTS track onto multiple webrtc logical tracks.
rts_track | the RTS track which will be projected onto this webrtc track. |
layer | layer information. If the default value is passed, the service will allocate layers automatically depending on bandwidth estimation and the priority |
promote | set this track to be the main video track. The main video track has highest priority for bandwidth assignment when SVC layers are managed by the service. |
|
pure virtual |
Remove the video renderer.
renderer | the renderer. |