createPublisher

Creates a publisher instance.

Return

The valid newly created instance.

Samples

import com.millicast.Core
fun main() { 
   //sampleStart 
   Core.initialize()
val publisher = Core.createPublisher()
// from there, the publisher instance will be available

// up until you don't need it anymore and will be able to call
publisher.release() 
   //sampleEnd
}