Skip to content

Latest commit

 

History

History

publishAppend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Publish Stream Recording - Append

This example demonstrates appended recording of the published stream to the server.

Please refer to the Basic Publisher Documentation to learn more about the basic setup.

Example Code

Recording

To record a published stream, modify the streamMode configuration attribute provided upon initialization of the Publisher:

var defaultConfiguration = {
  protocol: 'ws',
  port: 5080,
  app: 'live',
  streamMode: 'append',
}

The following are accepted values for the streamMode configuration attribute:

  • live
  • record
  • append

The default value is live.