mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: protect from NullPointer on KurentoParticipant#getPublisherStreamId
parent
d6acd0d321
commit
038d6ccd29
|
@ -631,8 +631,11 @@ public class KurentoParticipant extends Participant {
|
|||
|
||||
@Override
|
||||
public String getPublisherStreamId() {
|
||||
if (this.publisher != null) {
|
||||
return this.publisher.getStreamId();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public void resetPublisherEndpoint(MediaOptions mediaOptions, PassThrough passThru) {
|
||||
log.info("Resetting publisher endpoint for participant {}", this.getParticipantPublicId());
|
||||
|
|
Loading…
Reference in New Issue