mode property
getter/setter pair
- Description: The publishing mode.
- Value: You can relay streams to a CDN, transcode streams, or publish streams to an RTC room. Select the mode that fits your needs.
- Note: If you need to use more than one publishing mode,
you can call
startPublishMediaStreammultiple times and setTRTCPublishTargetto a different value each time. You can use one mode each time you call thestartPublishMediaStreamAPI. To modify the configuration, callupdatePublishCDNStream.
Implementation
TRTCPublishMode mode;