isl-org / isl-org/Open3D

example/DwawWebRtc using webrtc_server Failed!!

Open
#6,984 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### Describe the issue

I tested examples/DwawWebRtc and "python examples/visualization/draw_webrtc.py" , they were all FAILED!!!
When I tested without the EnableWebRtc() function, the scene can be rendered normally,but with EnableWebRtc() function and then enter localhost:8888 in the browser, nothing is rendered. When I refresh the browser page, the program quits unexpectedly. By debugging the DrawWebRtc C++ project, after the program executes the webrtc_server::PeerConnectionManager::CreatePeerConnection() function, an exception occurs when the destructor webrtc::PeerConnectionInterface::RTCConfiguration::~RTCConfiguration() is triggered, leading to the interruption of the program.

### Steps to reproduce the bug

```python
int main(int argc, char **argv) {
visualization::webrtc_server::WebRTCWindowSystem::GetInstance()
->EnableWebRTC();

// Uncomment this line to see more WebRTC loggings
utility::SetVerbosityLevel(utility::VerbosityLevel::Debug);

//EmptyBox();
BoxWithObjects();
visualization::gui::Application::GetInstance().Run();
}
```

### Error message

_No response_

### Expected behavior

_No response_

### Open3D, Python and System information

```markdown
- Operating system: Windows 10 64-bit
- Python version: Python 3.9.5
- Open3D version: 0.18
- System architecture: x64
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): visual studio 2019/2022
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.