I tried to run the example file that comes with the package.
Data is passing fine to unity from the browser, when I turn on/off the light it works fine in unity.
But the video is not showing in the browser. Same thing happened in the bidirectional example
My webcam from browser shows up in unity remote video box, but the Unity local camera is not showing up in the browser.
Did I miss something
I’m running the all example from http://localhost (not https)
I am running the WebApp example and started the server using the following
npm run start -- -w
jquery404:
I tried to run the example file that comes with the package.
Data is passing fine to unity from the browser, when I turn on/off the light it works fine in unity.
But the video is not showing in the browser. Same thing happened in the bidirectional example
My webcam from browser shows up in unity remote video box, but the Unity local camera is not showing up in the browser.
Did I miss something
I’m running the all example from http://localhost (not https)
I am running the WebApp example and started the server using the following
npm run start -- -w
Could you tell me com.unity.renderstreaming package version ( or Github branch or commit ) and OS?
Also, there may be an error log in the Editor or browser, so please let me know.
In Unity, I’m using the com.unity.renderstreaming 3.0.1-preview package.
for web app I downloaded the latest src code from github release 3.1.0-exp.3
I have tried this on both Windows and Mac OS, Chrome and Firefox.
I didn’t see any error.
here is the message which is shown on the webapp side
{
type: 'offer',
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
data: {
sdp: 'v=0\r\n' +
'o=- 3464378051083032747 2 IN IP4 127.0.0.1\r\n' +
's=-\r\n' +
't=0 0\r\n' +
'a=group:BUNDLE 0\r\n' +
'a=extmap-allow-mixed\r\n' +
'a=msid-semantic: WMS\r\n' +
'm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\n' +
'c=IN IP4 0.0.0.0\r\n' +
'a=ice-ufrag:51R4\r\n' +
'a=ice-pwd:QN5RvCnpM9G6iIk/mPooZwox\r\n' +
'a=ice-options:trickle\r\n' +
'a=fingerprint:sha-256 B1:87:B4:smile:B:B4:C2:21:CB:23:BD:9B:0C:9E:62:6E:F9:87:4B:CD:B5:52:FA:39:70:26:48:88:E1:86:E0:73:FB\r\n' +
'a=setup:actpass\r\n' +
'a=mid:0\r\n' +
'a=sctp-port:5000\r\n' +
'a=max-message-size:262144\r\n',
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114'
}
}
{
type: 'candidate',
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
data: {
candidate: 'candidate:1798856119 1 udp 2113937151 1b96e848-8e92-4111-884f-dc3bf85a4ce4.local 56073 typ host generation 0 ufrag 51R4 network-cost 999',
sdpMLineIndex: '0',
sdpMid: 0,
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114'
}
}
{
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
to: '',
type: 'answer',
data: {
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
sdp: 'v=0\r\n' +
'o=- 293129222745296552 2 IN IP4 127.0.0.1\r\n' +
's=-\r\n' +
't=0 0\r\n' +
'a=group:BUNDLE 0\r\n' +
'a=extmap-allow-mixed\r\n' +
'a=msid-semantic: WMS\r\n' +
'm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\n' +
'c=IN IP4 0.0.0.0\r\n' +
'b=AS:30\r\n' +
'a=ice-ufrag:gUtN\r\n' +
'a=ice-pwd:RvSQJnz2IuxvUatqStPA9rNL\r\n' +
'a=ice-options:trickle\r\n' +
'a=fingerprint:sha-256 38:26:72:1A:smile:5:1A:E8:C0:3E:4F:84:A1:BF:smile:2:9C:C7:9B:52:46:18:smile:0:81:E3:AA:29:14:84:E3:3D:E6:A3:85\r\n' +
'a=setup:active\r\n' +
'a=mid:0\r\n' +
'a=sctp-port:5000\r\n' +
'a=max-message-size:262144\r\n',
type: 'answer'
}
}
{
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
to: '',
type: 'candidate',
data: {
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
candidate: 'candidate:1798856119 1 udp 2122260223 192.168.43.236 59748 typ host generation 0 ufrag gUtN network-id 1 network-cost 50',
sdpMid: '0',
sdpMLineIndex: 0
}
}
and here the unity side
jquery404:
In Unity, I’m using the com.unity.renderstreaming 3.0.1-preview package.
for web app I downloaded the latest src code from github release 3.1.0-exp.3
I have tried this on both Windows and Mac OS, Chrome and Firefox.
I didn’t see any error.
here is the message which is shown on the webapp side
{
type: 'offer',
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
data: {
sdp: 'v=0\r\n' +
'o=- 3464378051083032747 2 IN IP4 127.0.0.1\r\n' +
's=-\r\n' +
't=0 0\r\n' +
'a=group:BUNDLE 0\r\n' +
'a=extmap-allow-mixed\r\n' +
'a=msid-semantic: WMS\r\n' +
'm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\n' +
'c=IN IP4 0.0.0.0\r\n' +
'a=ice-ufrag:51R4\r\n' +
'a=ice-pwd:QN5RvCnpM9G6iIk/mPooZwox\r\n' +
'a=ice-options:trickle\r\n' +
'a=fingerprint:sha-256 B1:87:B4:smile:B:B4:C2:21:CB:23:BD:9B:0C:9E:62:6E:F9:87:4B:CD:B5:52:FA:39:70:26:48:88:E1:86:E0:73:FB\r\n' +
'a=setup:actpass\r\n' +
'a=mid:0\r\n' +
'a=sctp-port:5000\r\n' +
'a=max-message-size:262144\r\n',
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114'
}
}
{
type: 'candidate',
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
data: {
candidate: 'candidate:1798856119 1 udp 2113937151 1b96e848-8e92-4111-884f-dc3bf85a4ce4.local 56073 typ host generation 0 ufrag 51R4 network-cost 999',
sdpMLineIndex: '0',
sdpMid: 0,
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114'
}
}
{
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
to: '',
type: 'answer',
data: {
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
sdp: 'v=0\r\n' +
'o=- 293129222745296552 2 IN IP4 127.0.0.1\r\n' +
's=-\r\n' +
't=0 0\r\n' +
'a=group:BUNDLE 0\r\n' +
'a=extmap-allow-mixed\r\n' +
'a=msid-semantic: WMS\r\n' +
'm=application 9 UDP/DTLS/SCTP webrtc-datachannel\r\n' +
'c=IN IP4 0.0.0.0\r\n' +
'b=AS:30\r\n' +
'a=ice-ufrag:gUtN\r\n' +
'a=ice-pwd:RvSQJnz2IuxvUatqStPA9rNL\r\n' +
'a=ice-options:trickle\r\n' +
'a=fingerprint:sha-256 38:26:72:1A:smile:5:1A:E8:C0:3E:4F:84:A1:BF:smile:2:9C:C7:9B:52:46:18:smile:0:81:E3:AA:29:14:84:E3:3D:E6:A3:85\r\n' +
'a=setup:active\r\n' +
'a=mid:0\r\n' +
'a=sctp-port:5000\r\n' +
'a=max-message-size:262144\r\n',
type: 'answer'
}
}
{
from: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
to: '',
type: 'candidate',
data: {
connectionId: 'ee88cad6-cfd9-499a-9168-3f0cf5173114',
candidate: 'candidate:1798856119 1 udp 2122260223 192.168.43.236 59748 typ host generation 0 ufrag gUtN network-id 1 network-cost 50',
sdpMid: '0',
sdpMLineIndex: 0
}
}
and here the unity side
com.unity.renderstreaming 3.0.1-preview package and webapp at release 3.1.0-exp.3 are not compatible.
We have also changed the WebApp, so please use the same version for the package and the WebApp.
Please use the Package of com.unity.renderstreaming-exp.3.