Package buzz.getcoco.media
Class Node
- java.lang.Object
-
- buzz.getcoco.media.Node
-
- All Implemented Interfaces:
android.os.Parcelable
,java.lang.Comparable<Node>
public class Node extends java.lang.Object implements java.lang.Comparable<Node>, android.os.Parcelable
A class representing a participant. TODO: make this parcelable make this more of a data class move datasource switch streams on it own without relying on node create a new datasource whenever getDataSourceFactory is called make this properly parcelable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Node other)
int
describeContents()
com.google.android.exoplayer2.upstream.DataSource.Factory
getDataSourceFactory()
long
getNodeId()
void
setAudioEnabled(boolean enabled)
void
setVideoEnabled(boolean enabled)
java.lang.String
toString()
void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<Node> CREATOR
-
-
Method Detail
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
setVideoEnabled
public void setVideoEnabled(boolean enabled)
-
setAudioEnabled
public void setAudioEnabled(boolean enabled)
-
getDataSourceFactory
@NonNull public com.google.android.exoplayer2.upstream.DataSource.Factory getDataSourceFactory()
-
getNodeId
public long getNodeId()
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-