private void sendPublishStartNotify ( ) { Status publishStatus = new Status ( StatusCodes . NS_PUBLISH_START ) ; publishStatus . setClientid ( getStreamId ( ) ) ; publishStatus . setDetails ( getPublishedName ( ) ) ; StatusMessage startMsg = new StatusMessage ( ) ; startMsg . setBody ( publishStatus ) ; pushMessage ( startMsg ) ; setState ( StreamState . PUBLISHING ) ; }
Sends publish start notifications