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
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
play
(org.webrtc.SurfaceViewRenderer renderer) Play stream associated with this participant and set participant.stream fieldvoid
sendMessage
(String text) Send a text message to this participantvoid
void
setStreamName
(String streamName) void
stop()
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
-
-