SimulcastStreamer Class Reference

Inherits from NSObject
Declared in AdaptrSimulcastStreamer.h

Overview

This class deals with Simulcast streaming and can be directly initialized and used independently of the AdaptrAudioPlayer with just a token.

  state

Current State of the Player.

@property (nonatomic) SimulcastPlaybackState state

Declared In

AdaptrSimulcastStreamer.h

  currentItem

Current item that we’re trying to play

@property (nonatomic) Audiofile *currentItem

Declared In

AdaptrSimulcastStreamer.h

  volume

Set or retrieve the audio volume, only works with local player.

@property (nonatomic) float volume

Declared In

AdaptrSimulcastStreamer.h

– initSimulcastWithToken:withDelegate:

Initalize the Simulcast streamer @parameter token : simulcast token @parameter delegate : The delegate for listening to events from simulcast player @parameter isPlayer : if YES then streamer use a player and plays the stream locally. if NO is passed the Streamer listens to the state of an in-Studiostream and fetchs metadata etc. No local playback.

- (id _Nonnull)initSimulcastWithToken:(NSString *_Nonnull)token withDelegate:(id<SimulcastDelegate> _Nonnull)delegate

Declared In

AdaptrSimulcastStreamer.h

– registerDelegate:

Regester another delegate to listen to stream events

- (void)registerDelegate:(id<SimulcastDelegate> _Nonnull)delegate

Declared In

AdaptrSimulcastStreamer.h

– unregisterDelegate:

Remove a registered delegate

- (void)unregisterDelegate:(id<SimulcastDelegate> _Nonnull)delegate

Declared In

AdaptrSimulcastStreamer.h

– connect

Connect to and begin playback of the remote stream

- (void)connect

Declared In

AdaptrSimulcastStreamer.h

– disconnect

Disconnect from the stream

- (void)disconnect

Declared In

AdaptrSimulcastStreamer.h