Fail to stream over VR Oculus2

Hi i tried to do the auto way to stream but it didn’t work. So i’m trying the manual way.

But i’m getting some weird errors and i’m just getting a black screen.

Any tips? PS: it works in editor

2023/07/30 17:47:53.472 15494 16372 Info Unity
2023/07/30 17:47:53.492 15494 16372 Info Unity Signaling: Receiving message: {“from”:“2c4a73e4-e9bd-42ac-bd56-9cfdbcdddd0a”,“to”:“”,“type”:“candidate”,“data”:{“candidate”:“candidate:3062013241 1 udp 1677729535 116.86.243.79 58335 typ srflx raddr 0.0.0.0 rport 0 generation 2 ufrag vmQs network-cost 999”,“sdpMLineIndex”:“0”,“sdpMid”:0,“datetime”:1690710473333}}
2023/07/30 17:47:53.492 15494 16372 Info Unity Unity.RenderStreaming.Signaling.WebSocketSignaling:WSProcessMessage(Object, MessageEventArgs)
2023/07/30 17:47:53.492 15494 16372 Info Unity WebSocketSharp.WebSocket:messagec(MessageEventArgs)
2023/07/30 17:47:53.492 15494 16372 Info Unity WebSocketSharp.<>c__DisplayClass60_0:b__0(IAsyncResult)
2023/07/30 17:47:53.492 15494 16372 Info Unity System.Threading.ThreadPoolWorkQueue:smile:ispatch()
2023/07/30 17:47:53.492 15494 16372 Info Unity
2023/07/30 17:47:53.496 15494 15514 Error Unity InvalidOperationException: Sequence contains no elements
2023/07/30 17:47:53.496 15494 15514 Error Unity at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00000] in <00000000000000000000000000000000>:0 2023/07/30 17:47:53.496 15494 15514 Error Unity at Unity.RenderStreaming.Broadcast.OnAddReceiver (Unity.RenderStreaming.SignalingEventData data) [0x00000] in <00000000000000000000000000000000>:0 2023/07/30 17:47:53.496 15494 15514 Error Unity at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0
2023/07/30 17:47:53.496 15494 15514 Error Unity at Unity.RenderStreaming.SignalingEventProvider.ExecuteEventToAllTargets[T] (UnityEngine.EventSystems.BaseEventData data, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0 2023/07/30 17:47:53.496 15494 15514 Error Unity at Unity.WebRTC.RTCPeerConnection+<>c__DisplayClass55_0.<PCOnTrack>b__0 () [0x00000] in <00000000000000000000000000000000>:0 2023/07/30 17:47:53.496 15494 15514 Error Unity at Unity.WebRTC.WebRTC.SendOrPostCallbac 2023/07/30 17:47:53.497 15494 15514 Error Unity InvalidOperationException: Sequence contains no elements 2023/07/30 17:47:53.497 15494 15514 Error Unity at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00000] in <00000000000000000000000000000000>:0
2023/07/30 17:47:53.497 15494 15514 Error Unity at Unity.RenderStreaming.Broadcast.OnAddReceiver (Unity.RenderStreaming.SignalingEventData data) [0x00000] in <00000000000000000000000000000000>:0
2023/07/30 17:47:53.497 15494 15514 Error Unity at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0 2023/07/30 17:47:53.497 15494 15514 Error Unity at Unity.RenderStreaming.SignalingEventProvider.ExecuteEventToAllTargets[T] (UnityEngine.EventSystems.BaseEventData data, UnityEngine.EventSystems.ExecuteEvents+EventFunction1[T1] functor) [0x00000] in <00000000000000000000000000000000>:0
2023/07/30 17:47:53.497 15494 15514 Error Unity at Unity.WebRTC.RTCPeerConnection+<>c__DisplayClass55_0.b__0 () [0x00000] in <00000000000000000000000000000000>:0
2023/07/30 17:47:53.497 15494 15514 Error Unity at Unity.WebRTC.WebRTC.SendOrPostCallbac
2023/07/30 17:47:53.506 15494 15514 Info Unity Already answered this connectionId : 2c4a73e4-e9bd-42ac-bd56-9cfdbcdddd0a
2023/07/30 17:47:53.506 15494 15514 Info Unity UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)

Some weird warning errors

2023/07/30 17:47:58.399 15494 15514 Info Unity Signaling: Sending WS data: {“from”:“f87f0be9-836d-4e57-82f3-c5efc009461d”,“to”:“”,“type”:“offer”,“data”:{“connectionId”:“f87f0be9-836d-4e57-82f3-c5efc009461d”,“sdp”:“v=0\r\no=- 8872419267865954288 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 45505 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 192.168.10.141\r\na=candidate:1098360474 1 udp 2122262783 2406:3003:2077:658:41ff:25b9:b364:3698 37296 typ host generation 0 network-id 4 network-cost 10\r\na=candidate:1117108812 1 udp 2122194687 192.168.10.141 45505 typ host generation 0 network-id 3 network-cost 10\r\na=candidate:1069040642 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 54617 typ host tcptype passive generation 0 network-id 4 network-cost 10\r\na=candidate:1012553940 1 tcp 1518214911 192.168.10.141 49473 typ host tcptype passive generation 0 network-id 3 network-cost 10\r\na=candidate:1069040642 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 55057 typ host
2023/07/30 17:47:58.417 15494 15514 Info Unity Signaling: Sending WS data: {“from”:“f87f0be9-836d-4e57-82f3-c5efc009461d”,“to”:”“,“type”:“offer”,“data”:{“connectionId”:“f87f0be9-836d-4e57-82f3-c5efc009461d”,“sdp”:“v=0\r\no=- 5721400048670866936 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1 2\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 52928 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 192.168.10.141\r\na=candidate:869668058 1 udp 2122262783 2406:3003:2077:658:41ff:25b9:b364:3698 34935 typ host generation 0 network-id 4 network-cost 10\r\na=candidate:1550156071 1 udp 2122194687 192.168.10.141 52928 typ host generation 0 network-id 3 network-cost 10\r\na=candidate:3447504974 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 47851 typ host tcptype passive generation 0 network-id 4 network-cost 10\r\na=candidate:2731496883 1 tcp 1518214911 192.168.10.141 52675 typ host tcptype passive generation 0 network-id 3 network-cost 10\r\na=candidate:3447504974 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 34733 typ host
2023/07/30 17:47:58.428 15494 16371 Info Unity Signaling: Receiving message: {“from”:“f87f0be9-836d-4e57-82f3-c5efc009461d”,“to”:””,“type”:“offer”,“data”:{“sdp”:"v=0\r\no=- 8872419267865954288 3 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS\r\nm=application 45505 UDP/DTLS/SCTP webrtc-datachannel\r\nc=IN IP4 192.168.10.141\r\na=candidate:1098360474 1 udp 2122262783 2406:3003:2077:658:41ff:25b9:b364:3698 37296 typ host generation 0 network-id 4 network-cost 10\r\na=candidate:1117108812 1 udp 2122194687 192.168.10.141 45505 typ host generation 0 network-id 3 network-cost 10\r\na=candidate:1069040642 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 54617 typ host tcptype passive generation 0 network-id 4 network-cost 10\r\na=candidate:1012553940 1 tcp 1518214911 192.168.10.141 49473 typ host tcptype passive generation 0 network-id 3 network-cost 10\r\na=candidate:1069040642 1 tcp 1518283007 2406:3003:2077:658:41ff:25b9:b364:3698 55057 typ host tcptype passive generation 0 network-id 4 network-co
2023/07/30 17:47:58.442 15494 15514 Warn Unity [impolite-PeerConnection ConnectionState:Connecting IceConnectionState:Checking SignalingState:HaveLocalOffer GatheringState:Complete] glare - ignoreOffer.
2023/07/30 17:47:58.442 15494 15514 Warn Unity Unity.RenderStreaming.d__43:MoveNext()
2023/07/30 17:47:58.442 15494 15514 Warn Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Oh somehow i managed to get it to work. by restarting and using the manual way… seems the automated sending dosen’t work

Hi, can we help you about this issue?

Do you mean when its set to automated stream and its black screen? let me try to replicate and confirm again these two days.