async getChannelSettings( stream, quality ) {
		const channelSettings = await stream.stream.getChannelSettings();

		// override channel specific settings
		if ( quality === undefined ) {
			setIfNotNull( stream, "quality", channelSettings, "streaming_quality" );
			set( stream, "strictQuality", false );
		} else {
			set( stream, "quality", quality );
			set( stream, "strictQuality", true );
		}
		setIfNotNull( stream, "low_latency", channelSettings, "streaming_low_latency" );
		setIfNotNull( stream, "disable_ads", channelSettings, "streaming_disable_ads" );
		setIfNotNull( stream, "chat_open", channelSettings, "streams_chat_open" );
	}
@param {Stream} stream
@param {string?} quality
@return {Promise}