Sample code

Import the Millicast integration module

import THEOplayerMillicastIntegration

Create and add a Millicast integration to your THEOplayer

let millicastIntegration = MillicastIntegrationFactory.createIntegration()
theoplayer.addIntegration(millicastIntegration)

Add a Millicast source

let millicastSource = SourceDescription(source: MillicastSource(streamName: "<stream_name>", accountID: "<account_id>"))
theoplayer.source = millicastSource