Struct opentok::publisher::PublisherCallbacksBuilder [−][src]
pub struct PublisherCallbacksBuilder { /* fields omitted */ }
Implementations
pub fn on_stream_created<F: Fn(&Publisher, Stream) + Send + Sync + 'static>(
self,
callback: F
) -> Self
pub fn on_stream_destroyed<F: Fn(&Publisher, Stream) + Send + Sync + 'static>(
self,
callback: F
) -> Self
pub fn on_render_frame<F: Fn(&Publisher, VideoFrame) + Send + Sync + 'static>(
self,
callback: F
) -> Self
pub fn on_audio_level_updated<F: Fn(&Publisher, f32) + Send + Sync + 'static>(
self,
callback: F
) -> Self
Trait Implementations
Returns the “default value” for a type. Read more