DefaultStreamMediaSessionController    
    open class DefaultStreamMediaSessionController(interceptors: StreamNotificationBuilderInterceptors, updateInterceptors: StreamNotificationUpdateInterceptors) : StreamMediaSessionController
Default implementation of the StreamMediaSessionController interface.
Constructors
Link copied to clipboard
                  constructor(interceptors: StreamNotificationBuilderInterceptors, updateInterceptors: StreamNotificationUpdateInterceptors)
Functions
Link copied to clipboard
                  Clear the media session for the call.
Link copied to clipboard
                  open override fun initialMetadata(context: Context, mediaSession: MediaSessionCompat, callId: StreamCallId, metadataBuilder: MediaMetadataCompat.Builder)
Create the media session metadata.
Link copied to clipboard
                  open override fun initialPlaybackState(context: Context, mediaSession: MediaSessionCompat, callId: StreamCallId, playbackStateBuilder: PlaybackStateCompat.Builder)
Create the media session playback state.
Link copied to clipboard
                  open override fun provideMediaSession(application: Application, callId: StreamCallId, channelId: String, callback: MediaSessionCompat.Callback?): MediaSessionCompat
Create or get already created media session for the call.
Link copied to clipboard
                  open suspend override fun updateMetadata(context: Context, mediaSession: MediaSessionCompat, call: Call, callDisplayName: String?, metadataBuilder: MediaMetadataCompat.Builder)
Update the media session metadata.
Link copied to clipboard
                  open suspend override fun updatePlaybackState(context: Context, mediaSession: MediaSessionCompat, call: Call, callDisplayName: String?, playbackStateBuilder: PlaybackStateCompat.Builder)
Update the media session playback state.