public static StarWebrtcContext CreateAnnotationReceiverContext() { StarWebrtcContext ctx = new StarWebrtcContext(); ctx.UserType = StarUserType.ANNOTATION_RECEIVER; ctx.LocalPeerUsername = "******"; ctx.LocalPeerNameLabel = "Annotation Receiver"; ctx.VideoEnabled = false; ctx.AudioEnabled = false; return(ctx); }
public static StarWebrtcContext CreateMentorContext(string overrideLocalPeerUsername = null) { StarWebrtcContext ctx = new StarWebrtcContext(); ctx.UserType = StarUserType.MENTOR; ctx.LocalPeerUsername = "******"; ctx.LocalPeerNameLabel = "STAR Mentor"; ctx.ExpectedRemoteAnnotationReceiverUsername = "******"; ctx.VideoEnabled = true; ctx.AudioEnabled = false; ctx.RequestedCameraIndexToTransmit = 0; ctx.RequestedVideoWidth = 640; ctx.RequestedVideoHeight = 480; return(ctx); }
public static StarWebrtcContext CreateTraineeContext() { StarWebrtcContext ctx = new StarWebrtcContext(); ctx.UserType = StarUserType.TRAINEE; ctx.LocalPeerUsername = "******"; ctx.LocalPeerNameLabel = "STAR Trainee"; ctx.ExpectedRemoteVideoReceiverUsername = "******"; ctx.VideoEnabled = true; ctx.AudioEnabled = false; ctx.RequestedCameraIndexToTransmit = 0; ctx.RequestedVideoWidth = 640; ctx.RequestedVideoHeight = 480; return(ctx); }