Hi, I attempted RTSP streaming from isaacsim2023.1.1 following the instructions on the following page, but it didn’t work out well.
https://docs.omniverse.nvidia.com/isaacsim/latest/replicator_tutorials/ext_replicator-character/writer_control.html
- The RTSPwriter was found in omni.replicator.character.core instead of omni.replicator.core, so I added the import statement and wrote the script as follows.
import omni.replicator.core as rep
import omni.replicator.character.core as repchar
render_products = []
render_products.append(rep.create.render_product("/World/Camera",resolution=(1024, 1024)))
writer = rep.WriterRegistry.get("RTSPWriter")
writer.initialize(device=0, annotator="rgb", output_dir="rtsp://<my IP address>:8554/RTSPWriter")
writer.attach(render_products)
-
Additionally, I enabled the following two Extensions in the Extensions Window.
-
I positioned the cone mesh and camera.
As a result, the logs from isaacsim’s console and terminal appeared as follows, but it doesn’t seem to be functioning properly. Could you please provide guidance on the correct procedure?
nvidia@nvidia:~/mediamtx$ ./mediamtx
2024/04/26 13:22:29 INF MediaMTX v1.1.1
2024/04/26 13:22:29 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2024/04/26 13:22:29 INF [RTMP] listener opened on :1935
2024/04/26 13:22:29 INF [HLS] listener opened on :8888
2024/04/26 13:22:29 INF [WebRTC] listener opened on :8889 (HTTP)
2024/04/26 13:22:29 INF [SRT] listener opened on :8890 (UDP)
2024/04/26 13:22:40 INF [RTSP] [conn <my IP address>:42292] opened
2024/04/26 13:22:40 INF [RTSP] [conn <my IP address>:42292] closed: EOF
[11.509s] RTX ready
[11.517s] Isaac Sim App is loaded.
[37.484s] [ext: omni.kit.registry.nucleus-0.0.0] startup
2024-04-26 02:38:24 [41,208ms] [Warning] [carb] Client omni.ui has acquired [omni::ui::IGlyphManager v1.0] 100 times. Consider accessing this interface with carb::getCachedInterface() (Performance warning)
[44.228s] [ext: omni.anim.people-0.2.4] startup
[44.241s] [ext: omni.replicator.character.core-0.1.10] startup
[Omni.Replicator.Character.Core] Extension startup
[45.373s] [ext: omni.replicator.character.ui-0.1.10] startup
server omniverse://localhost: ConnectionStatus.CONNECTING
server omniverse://localhost: ConnectionStatus.CONNECTED
2024-04-26 02:38:29 [45,820ms] [Warning] [omni.replicator.character.core.config_file_util] output_dir will use default value : /home/nvidia/ReplicatorResult
2024-04-26 02:39:32 [109,348ms] [Warning] [omni.fabric.plugin] No source has valid data array=0x28f4a1b0 usdValid=0 cpuValid=0