pub fn set_stream_context<F>(callback: F)where F: FnMut(u32, u32) -> Box<dyn StreamContext> + 'static,