This message was deleted.
# helpdesk
s
This message was deleted.
m
Could you say a bit more about your setup Alex? cc @boundless-energy-78552
i
I'm using cloud setup at wss://ansoftware.livekit.cloud and trying to connect with RustSDK and simple_room. Below are the logs
2023-01-24T15:40:36.298660Z  INFO wgpu_core::instance: Adapter Metal AdapterInfo { name: "AMD Radeon Pro 5500 XT", vendor: 0, device: 0, device_type: DiscreteGpu, driver: "", driver_info: "", backend: Metal }
2023-01-24T15:40:36.303393Z  INFO wgpu_core::device: Created buffer Valid((0, 1, Metal)) with BufferDescriptor { label: Some("egui_uniform_buffer"), size: 16, usage: COPY_DST | UNIFORM, mapped_at_creation: true }
2023-01-24T15:40:36.308235Z  INFO wgpu_core::device: Created render pipeline Valid((0, 1, Metal)) with RenderPipelineDescriptor { label: Some("egui_pipeline"), layout: Some((0, 1, Metal)), vertex: VertexState { stage: ProgrammableStageDescriptor { module: (0, 1, Metal), entry_point: "vs_main" }, buffers: [VertexBufferLayout { array_stride: 20, step_mode: Vertex, attributes: [VertexAttribute { format: Float32x2, offset: 0, shader_location: 0 }, VertexAttribute { format: Float32x2, offset: 8, shader_location: 1 }, VertexAttribute { format: Uint32, offset: 16, shader_location: 2 }] }] }, primitive: PrimitiveState { topology: TriangleList, strip_index_format: None, front_face: Ccw, cull_mode: None, unclipped_depth: false, polygon_mode: Fill, conservative: false }, depth_stencil: Some(DepthStencilState { format: Depth32Float, depth_write_enabled: false, depth_compare: Always, stencil: StencilState { front: StencilFaceState { compare: Always, fail_op: Keep, depth_fail_op: Keep, pass_op: Keep }, back: StencilFaceState { compare: Always, fail_op: Keep, depth_fail_op: Keep, pass_op: Keep }, read_mask: 0, write_mask: 0 }, bias: DepthBiasState { constant: 0, slope_scale: 0.0, clamp: 0.0 } }), multisample: MultisampleState { count: 1, mask: 18446744073709551615, alpha_to_coverage_enabled: false }, fragment: Some(FragmentState { stage: ProgrammableStageDescriptor { module: (0, 1, Metal), entry_point: "fs_main_gamma_framebuffer" }, targets: [Some(ColorTargetState { format: Bgra8Unorm, blend: Some(BlendState { color: BlendComponent { src_factor: One, dst_factor: OneMinusSrcAlpha, operation: Add }, alpha: BlendComponent { src_factor: OneMinusDstAlpha, dst_factor: One, operation: Add } }), write_mask: RED | GREEN | BLUE | ALPHA | COLOR | ALL })] }), multiview: None }
2023-01-24T15:40:36.308384Z  INFO wgpu_core::device: Created buffer Valid((1, 1, Metal)) with BufferDescriptor { label: Some("egui_vertex_buffer"), size: 20480, usage: COPY_DST | VERTEX, mapped_at_creation: false }
2023-01-24T15:40:36.308454Z  INFO wgpu_core::device: Created buffer Valid((2, 1, Metal)) with BufferDescriptor { label: Some("egui_index_buffer"), size: 12288, usage: COPY_DST | INDEX, mapped_at_creation: false }
2023-01-24T15:40:36.308545Z  INFO wgpu_core::device: configuring surface with SurfaceConfiguration { usage: RENDER_ATTACHMENT, format: Bgra8Unorm, width: 1600, height: 1200, present_mode: AutoVsync, alpha_mode: Auto }
2023-01-24T15:40:36.308576Z  INFO wgpu_core::device: Automatically choosing presentation mode by rule AutoVsync. Chose Fifo
2023-01-24T15:40:36.308593Z  INFO wgpu_core::device: Automatically choosing alpha mode by rule Auto. Chose Opaque
2023-01-24T15:40:36.308604Z  INFO wgpu_hal::metal::surface: build swapchain SurfaceConfiguration { swap_chain_size: 3, present_mode: Fifo, composite_alpha_mode: Opaque, format: Bgra8Unorm, extent: Extent3d { width: 1600, height: 1200, depth_or_array_layers: 1 }, usage: COLOR_TARGET }
2023-01-24T15:40:36.308822Z  INFO wgpu_core::device: Created texture Valid((0, 1, Metal)) with TextureDescriptor { label: Some("egui_depth_texture"), size: Extent3d { width: 1600, height: 1200, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Depth32Float, usage: TEXTURE_BINDING | RENDER_ATTACHMENT }
2023-01-24T15:40:36.338666Z  INFO wgpu_core::device: configuring surface with SurfaceConfiguration { usage: RENDER_ATTACHMENT, format: Bgra8Unorm, width: 1600, height: 1200, present_mode: AutoVsync, alpha_mode: Auto }
2023-01-24T15:40:36.338726Z  INFO wgpu_core::device: Automatically choosing presentation mode by rule AutoVsync. Chose Fifo
2023-01-24T15:40:36.338738Z  INFO wgpu_core::device: Automatically choosing alpha mode by rule Auto. Chose Opaque
2023-01-24T15:40:36.338747Z  INFO wgpu_hal::metal::surface: build swapchain SurfaceConfiguration { swap_chain_size: 3, present_mode: Fifo, composite_alpha_mode: Opaque, format: Bgra8Unorm, extent: Extent3d { width: 1600, height: 1200, depth_or_array_layers: 1 }, usage: COLOR_TARGET }
2023-01-24T15:40:36.338957Z  INFO wgpu_core::device: Created texture Valid((1, 1, Metal)) with TextureDescriptor { label: Some("egui_depth_texture"), size: Extent3d { width: 1600, height: 1200, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Depth32Float, usage: TEXTURE_BINDING | RENDER_ATTACHMENT }
2023-01-24T15:40:36.399638Z  INFO wgpu_core::device: Created texture Valid((3, 1, Metal)) with TextureDescriptor { label: Some("egui_texid_Managed(0)"), size: Extent3d { width: 2048, height: 256, depth_or_array_layers: 1 }, mip_level_count: 1, sample_count: 1, dimension: D2, format: Rgba8UnormSrgb, usage: COPY_DST | TEXTURE_BINDING }
2023-01-24T15:40:36.401993Z  INFO wgpu_core::device: Created buffer Valid((3, 1, Metal)) with BufferDescriptor { label: Some("egui_vertex_buffer"), size: 40960, usage: COPY_DST | VERTEX, mapped_at_creation: false }
2023-01-24T15:40:43.336492Z  INFO wgpu_core::device: Created buffer Valid((1, 2, Metal)) with BufferDescriptor { label: Some("egui_index_buffer"), size: 24576, usage: COPY_DST | INDEX, mapped_at_creation: false }
2023-01-24T15:40:47.717130Z  INFO connect{self=RTCEngine { inner: EngineInner { lk_runtime: LKRuntime, session_info: Mutex { data: None }, running_handle: RwLock { mr: 536870911, s: Semaphore { permits: 536870911 }, c: UnsafeCell { .. } }, opened: false, engine_emitter: Sender { chan: Tx { inner: Chan { tx: Tx { block_tail: 0x7fc5f0055200, tail_position: 0 }, semaphore: Semaphore { semaphore: Semaphore { permits: 8 }, bound: 8 }, rx_waker: AtomicWaker, tx_count: 1, rx_fields: "..." } } }, reconnecting: false, full_reconnect: false, reconnect_interval: Mutex { data: Interval { delay: Sleep { inner: Inner { deadline: Instant { t: 803519739204844 } }, entry: TimerEntry { driver: MultiThread(multi_thread::Handle { ... }), inner: UnsafeCell { .. }, initial_deadline: Some(Instant { t: 803519739204844 }), _m: PhantomPinned } }, period: 5s, missed_tick_behavior: Burst } } } } url="<wss://ansoftware.livekit.cloud>" token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzQ2NjE3NzgsImlzcyI6IkFQSUVBWEhWazhrWlh1UCIsIm5iZiI6MTY3NDU3MTc3OCwic3ViIjoiYW50ZXN0MSIsInZpZGVvIjp7ImNhblB1Ymxpc2giOnRydWUsImNhblB1Ymxpc2hEYXRhIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWUsInJvb20iOiJydXN0X3Rlc3QiLCJyb29tSm9pbiI6dHJ1ZX19.dk1XDEIm13lLyJ3XkfzdZ7wKOIkACMD0azxwkuFfyJ8" options=SignalOptions { reconnect: false, sid: "", auto_subscribe: true, adaptive_stream: false }}: livekit::signal_client::signal_stream: connecting to SignalClient: <wss://ansoftware.livekit.cloud/rtc?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2NzQ2NjE3NzgsImlzcyI6IkFQSUVBWEhWazhrWlh1UCIsIm5iZiI6MTY3NDU3MTc3OCwic3ViIjoiYW50ZXN0MSIsInZpZGVvIjp7ImNhblB1Ymxpc2giOnRydWUsImNhblB1Ymxpc2hEYXRhIjp0cnVlLCJjYW5TdWJzY3JpYmUiOnRydWUsInJvb20iOiJydXN0X3Rlc3QiLCJyb29tSm9pbiI6dHJ1ZX19.dk1XDEIm13lLyJ3XkfzdZ7wKOIkACMD0azxwkuFfyJ8&protocol=8&reconnect=0&sid=&auto_subscribe=1&adaptive_stream=0>
2023-01-24T15:40:49.154649Z  INFO wgpu_core::device: Created buffer Valid((2, 2, Metal)) with BufferDescriptor { label: Some("egui_vertex_buffer"), size: 81920, usage: COPY_DST | VERTEX, mapped_at_creation: false }
2023-01-24T15:40:52.131734Z  INFO livekit::room::room_session: test
2023-01-24T15:41:28.904113Z ERROR livekit::rtc_engine::rtc_events: ICE candidate error (Subscriber): address: 169.254.123.x - port: 64446 - url: stun:143.42.16.135:3478 - error_code: 701 - error_text: STUN binding request timed out.
2023-01-24T15:41:28.904157Z ERROR livekit::rtc_engine::rtc_events: ICE candidate error (Subscriber): address: 169.254.175.x - port: 49787 - url: stun:143.42.16.135:3478 - error_code: 701 - error_text: STUN binding request timed out.
2023-01-24T15:41:28.904171Z ERROR livekit::rtc_engine::rtc_events: ICE candidate error (Subscriber): address: 169.254.88.x - port: 59905 - url: stun:143.42.16.135:3478 - error_code: 701 - error_text: STUN binding request timed out.
2023-01-24T15:41:28.904183Z ERROR livekit::rtc_engine::rtc_events: ICE candidate error (Subscriber): address: 169.254.85.x - port: 65390 - url: stun:143.42.16.135:3478 - error_code: 701 - error_text: STUN binding request timed out.
2023-01-24T15:41:58.129433Z  INFO livekit::room::room_session: test
2023-01-24T15:41:58.129472Z  INFO livekit::room::room_session: Participant connected: PA_8jJNu8pRTeQ8
It looks like no valid ICE candidates
ICE candidate error (Subscriber): address: 169.254.123.x - port: 64446 - url: stun:143.42.16.135:3478 - error_code: 701 - error_text: STUN binding request timed out.
b
Hey @icy-shampoo-64781, how are you publishing videos? The Rust SDK doesn't support publishing yet (We're actively working on it). If you want to receive videos on your Rust app. You can either use the livekit-cli or use the JS example app to publish videos
i
OK, that explains what I see. Thank you.
Is there an SDK allowing publishing videos in a native(Win and Mac) app?
b
There are the Swift and the Flutter SDK
m
i
Thanks, but if I want to publish live video from camera I probably should take the Flutter route?
👍 3
b
Yes, if you want to use your webcam, it is a good way
m
The fastest way to do that is probably to use this (if you’re just trying to test)? https://example.livekit.io/
i
Yes, I saw your cool React components and I already ran Unity WebGL example but I need to run a native app.
👍 1