publish
Requests publishing to the server. The request is queued until the server stream is created.
Parameters
name
The stream name, or null to send a close-stream request while publishing.
howToPublish
The publishing mode; defaults to HowToPublish.LIVE.
Throws
If selected Opus settings or the installed encoder are unsupported.