Package buzz.getcoco.media
Class MediaSession.ChannelBuilder
- java.lang.Object
-
- buzz.getcoco.media.MediaSession.ChannelBuilder
-
- Enclosing class:
- MediaSession
public static final class MediaSession.ChannelBuilder extends java.lang.Object
A data class holding info on what channel should be created after network creation.
-
-
Constructor Summary
Constructors Constructor Description ChannelBuilder(java.lang.String channelName, java.lang.String channelMetadata)
The constructor of this class.ChannelBuilder(java.lang.String channelName, java.lang.String channelMetadata, int maxStreams)
The constructor of this class.
-
-
-
Constructor Detail
-
ChannelBuilder
public ChannelBuilder(java.lang.String channelName, java.lang.String channelMetadata)
The constructor of this class.- Parameters:
channelName
- Name of the channel to be createdchannelMetadata
- Metadata of the channel to be created
-
ChannelBuilder
public ChannelBuilder(java.lang.String channelName, java.lang.String channelMetadata, int maxStreams)
The constructor of this class.- Parameters:
channelName
- Name of the channel to be createdchannelMetadata
- Metadata of the channel to be createdmaxStreams
- max no. of streams allowed in this channel (-1 for unlimited)
-
-