Package com.flashphoner.fpwcsapi.room
Class Participant
java.lang.Object
com.flashphoner.fpwcsapi.room.Participant
Room participant
It is a user connected to the room
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()play(org.webrtc.SurfaceViewRenderer renderer) Play stream associated with this participant and set participant.stream fieldvoidsendMessage(String text) Send a text message to this participantvoidvoidsetStreamName(String streamName) voidstop()Stop playback stream associated with this participant
-
Constructor Details
-
Participant
New participant- Parameters:
name-room-
-
-
Method Details
-
getName
-
setName
-
getStreamName
-
setStreamName
-
getStream
-
play
Play stream associated with this participant and set participant.stream field- Parameters:
renderer-- Returns:
- playing back stream object
-
stop
public void stop()Stop playback stream associated with this participant -
sendMessage
Send a text message to this participant- Parameters:
text-
-