Error related to Live Stream when running python script in isaac sim

Hi, I’m trying to run an simulation with ISAAC sim as python application, but when starting up the application, there are several fatal errors related to omni.kit.livestream.native.

The specific error printed with –/app/livestream/logLevel=debug is:

[4.860s] [ext: omni.kit.livestream.native-2.4.0] startup

Active user not found. Using default user [kiosk]2024-05-23 06:46:15 [4,861ms] [Fatal] [carb.livestream.plugin] StreamSDK: VersionDump: #3(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&1768021A&<VersionDump>      Name: unnamed
2024-05-23 06:46:15 [4,861ms] [Fatal] [carb.livestream.plugin] StreamSDK: VersionDump: #4(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&CF6CAAC5&<VersionDump>      DVS Branch: gcomp/rel/gs_04_59
2024-05-23 06:46:15 [4,862ms] [Fatal] [carb.livestream.plugin] StreamSDK: VersionDump: #5(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&EA649458&<VersionDump>      DVS P4VirtualChangelist: 33332890
2024-05-23 06:46:15 [4,862ms] [Fatal] [carb.livestream.plugin] StreamSDK: Server: #8(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&7DF5E4E1&<Server>           Using: OpenSSL 1.1.1q  5 Jul 2022
2024-05-23 06:46:15 [4,862ms] [Fatal] [carb.livestream.plugin] StreamSDK: Server: #9(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&55B93E2E&<Server>           RND is initialized
2024-05-23 06:46:15 [4,862ms] [Error] [carb.livestream.plugin] StreamSDK: NvNetworkCommon: #5(E)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&168334B0&<NvNetworkCommon>  Network Address To String: invalid parameters 0x7bc082ffa9a0, 0x7bc082ffa9c0, 48
2024-05-23 06:46:15 [4,862ms] [Fatal] [carb.livestream.plugin] StreamSDK: Server: #6(M)[2024-05-23 06:46:15,175]=14:46:15=*00000*{8414135874752968814}&AD28CD28&<Server>           --- A4:BB:6D:C9:FD:F1: 192.168.31.52 / invalid
2024-05-23 06:46:15 [4,862ms] [Error] [carb.livestream.plugin] StreamSDK: NvNetworkCommon: #1(E)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&168334B0&<NvNetworkCommon>  Network Address To String: invalid parameters 0x7bc082ffa9a0, 0x7bc082ffa9c0, 48
2024-05-23 06:46:15 [4,862ms] [Fatal] [carb.livestream.plugin] StreamSDK: Server: #2(M)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&AD28CD28&<Server>           --- A4:BB:6D:C9:FD:F1: 192.168.31.52 / invalid
2024-05-23 06:46:15 [4,863ms] [Fatal] [carb.livestream.plugin] StreamSDK: NvEncUtil: #5(M)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&CC7C5461&<NvEncUtil>        Computing SPS/PPS headers.
2024-05-23 06:46:15 [4,863ms] [Warning] [carb.livestream.plugin] StreamSDK: VideoFrameCtxt: #6(W)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&0564BB28&<VideoFrameCtxt>   Couldn't find VideoFrameContext for this thread.
2024-05-23 06:46:15 [4,863ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #8(M)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&1E959A86&<AdapterContext>   Initializing Adapter context
2024-05-23 06:46:15 [4,863ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #9(M)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&F0E847F4&<AdapterContext>   Initialized context for adapter 0: 1280 x 720 @ 60.0 Hz
2024-05-23 06:46:15 [4,863ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #1(M)[2024-05-23 06:46:15,176]=14:46:15=*00000*{8414135874752968814}&9A64D99C&<AdapterContext>   System is NOT co-proc.
2024-05-23 06:46:15 [4,992ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #2(M)[2024-05-23 06:46:15,305]=14:46:15=*00128*{8414135874752968814}&21C9B327&<AdapterContext>   GPU memory usage: used = 1189.750000, free = 21324.062500 MB, total = 22513.812500 MB
2024-05-23 06:46:15 [4,992ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #3(M)[2024-05-23 06:46:15,305]=14:46:15=*00000*{8414135874752968814}&DD40CDEB&<AdapterContext>   Initialized CUDA for device 'Quadro RTX 6000' (SM 7.5) in compute mode 'CU_COMPUTEMODE_DEFAULT'.
2024-05-23 06:46:15 [4,992ms] [Error] [carb.livestream.plugin] StreamSDK: NvEncUtil: #4(E)[2024-05-23 06:46:15,305]=14:46:15=*00000*{8414135874752968814}&5FA2F6E4&<NvEncUtil>        Failed to allocate encoder for RTSP SPS/PPS header generation
2024-05-23 06:46:15 [4,992ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #5(M)[2024-05-23 06:46:15,305]=14:46:15=*00000*{8414135874752968814}&21C9B327&<AdapterContext>   GPU memory usage: used = 1189.750000, free = 21324.062500 MB, total = 22513.812500 MB
2024-05-23 06:46:15 [5,066ms] [Error] [carb.livestream.plugin] StreamSDK: NvEncUtil: #8(E)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&099DD006&<NvEncUtil>        Error computing SPS/PPS headers.
2024-05-23 06:46:15 [5,066ms] [Warning] [carb.livestream.plugin] StreamSDK: Server: #9(W)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&F0CB1C29&<Server>           NvEncodeAPI Not Supported, falling back to software encode
2024-05-23 06:46:15 [5,066ms] [Fatal] [carb.livestream.plugin] StreamSDK: NvEncUtil: #0(M)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&CC7C5461&<NvEncUtil>        Computing SPS/PPS headers.
2024-05-23 06:46:15 [5,066ms] [Warning] [carb.livestream.plugin] StreamSDK: VideoFrameCtxt: #1(W)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&0564BB28&<VideoFrameCtxt>   Couldn't find VideoFrameContext for this thread.
2024-05-23 06:46:15 [5,066ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #3(M)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&1E959A86&<AdapterContext>   Initializing Adapter context
2024-05-23 06:46:15 [5,066ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #4(M)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&F0E847F4&<AdapterContext>   Initialized context for adapter 0: 1280 x 720 @ 60.0 Hz
2024-05-23 06:46:15 [5,066ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #6(M)[2024-05-23 06:46:15,379]=14:46:15=*00000*{8414135874752968814}&9A64D99C&<AdapterContext>   System is NOT co-proc.
2024-05-23 06:46:15 [5,193ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #7(M)[2024-05-23 06:46:15,506]=14:46:15=*00126*{8414135874752968814}&21C9B327&<AdapterContext>   GPU memory usage: used = 1189.750000, free = 21324.062500 MB, total = 22513.812500 MB
2024-05-23 06:46:15 [5,193ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #8(M)[2024-05-23 06:46:15,506]=14:46:15=*00000*{8414135874752968814}&DD40CDEB&<AdapterContext>   Initialized CUDA for device 'Quadro RTX 6000' (SM 7.5) in compute mode 'CU_COMPUTEMODE_DEFAULT'.
2024-05-23 06:46:15 [5,193ms] [Fatal] [carb.livestream.plugin] StreamSDK: VideoEncoder: #9(M)[2024-05-23 06:46:15,506]=14:46:15=*00000*{8414135874752968814}&8BAD092A&<VideoEncoder>     Initializing OpenH264VideoEncoder.
2024-05-23 06:46:15 [5,193ms] [Error] [carb.livestream.plugin] StreamSDK: GsLoadLibrary: #0(E)[2024-05-23 06:46:15,507]=14:46:15=*00000*{8414135874752968814}&649F1C44&<GsLoadLibrary>    Failed to load library libopenh264.so due to error "libopenh264.so: 无法打开共享目标文件: 没有那个文件或目录"
2024-05-23 06:46:15 [5,193ms] [Error] [carb.livestream.plugin] StreamSDK: OpenH264VideoEncoder: #1(E)[2024-05-23 06:46:15,507]=14:46:15=*00000*{8414135874752968814}&E18798CF&<OpenH264VideoEnc> Failed to load OpenH264 DLL from 'libopenh264.so'.
2024-05-23 06:46:15 [5,193ms] [Error] [carb.livestream.plugin] StreamSDK: NvEncUtil: #2(E)[2024-05-23 06:46:15,507]=14:46:15=*00000*{8414135874752968814}&A32B5425&<NvEncUtil>        Failed to initialize encoder for RTSP SPS/PPS header generation.
2024-05-23 06:46:15 [5,194ms] [Fatal] [carb.livestream.plugin] StreamSDK: AdapterContext: #3(M)[2024-05-23 06:46:15,507]=14:46:15=*00000*{8414135874752968814}&21C9B327&<AdapterContext>   GPU memory usage: used = 1189.750000, free = 21324.062500 MB, total = 22513.812500 MB
2024-05-23 06:46:15 [5,257ms] [Error] [carb.livestream.plugin] StreamSDK: NvEncUtil: #6(E)[2024-05-23 06:46:15,571]=14:46:15=*00000*{8414135874752968814}&099DD006&<NvEncUtil>        Error computing SPS/PPS headers.
2024-05-23 06:46:15 [5,258ms] [Error] [carb.livestream.plugin] StreamSDK: RunSdkCommand: #7(E)[2024-05-23 06:46:15,571]=14:46:15=*00000*{8414135874752968814}&D291FF46&<RunSdkCommand>    nvstCreateVersionedServer failed: StreamSdkException 800e8401 [NVST_DISCONN_SERVER_VIDEO_ENCODER_INIT_DLL_LOAD_FAILED] Software video encoder not supported
2024-05-23 06:46:15 [5,258ms] [Error] [carb.livestream.plugin] Stream Server: Net Stream Creation failed, 0x800E8401
2024-05-23 06:46:15 [5,258ms] [Error] [carb.livestream.plugin] Could not initialize streaming components
2024-05-23 06:46:15 [5,258ms] [Error] [carb.livestream.plugin] Couldn't initialize the capture device.

System configuration is:
|---------------------------------------------------------------------------------------------|
| Driver Version: 545.29.06 | Graphics API: Vulkan
|=============================================================================================|
| GPU | Name | Active | LDA | GPU Memory | Vendor-ID | LUID |
| | | | | | Device-ID | UUID |
| | | | | | Bus-ID | |
|---------------------------------------------------------------------------------------------|
| 0 | Quadro RTX 6000 | Yes: 0 | | 23286 MB | 10de | 0 |
| | | | | | 1e30 | 563e6b80… |
| | | | | | 65 | |
|=============================================================================================|
| OS: 22.04.4 LTS (Jammy Jellyfish) ubuntu, Version: 22.04.4, Kernel: 6.5.0-28-generic
| XServer Vendor: The X.Org Foundation, XServer Version: 12101004 (1.21.1.4)
| Processor: Intel(R) Core™ i9-10900X CPU @ 3.70GHz | Cores: 10 | Logical: 20
|---------------------------------------------------------------------------------------------|
| Total Memory (MB): 128516 | Free Memory: 121958
| Total Page/Swap (MB): 2047 | Free Page/Swap: 2046
|---------------------------------------------------------------------------------------------|

Thanks a lot!