Using Annotation API users can annotate on a Remote Stream. You can implement annotations on remote streams using the startAnnotation()
method.
Method: startAnnotation( clientId )
Parameters:
@param {String} clientid
– The client ID on whose stream the annotations need to be implmented
Event Listeners:
onStartAnnotationAck( JSONObject )
– Acknowledgement to the Annotator that the Annotation has started.-
onAnnotationStarted( EnxStream )
– Notification to all the participants that the Annotation has started
Method: stopAnnotation(
) – No Parameter is required
Event Listeners:
onStoppedAnnotationAck( JSONObject )
– Acknowledgement to the Annotator that Annotation has stopped.onAnnotationStopped( EnxStream )
– Notification to all the participants that Annotation has stopped.