Discussions
error during streaming setup
I am trying to use my own image with the stream example from Github but if I use anything other than the example roman image it fails.
streaming-client-api.js:289
POST https://api.d-id.com/talks/streams 451 (Unavailable For Legal Reasons)
fetchWithRetries @ streaming-client-api.js:289
connectButton.onclick @ streaming-client-api.js:48
streaming-client-api.js:64 error during streaming setup DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription.
at createPeerConnection (http://localhost:3000/streaming-client-api.js:223:24)
at connectButton.onclick (http://localhost:3000/streaming-client-api.js:62:33)
streaming-client-api.js:265 stopping peer connection
streaming-client-api.js:278 stopped peer connection
The image I am trying to use is the same width/height as the roman image and it's also a jpg
Hello,
Thank you for reaching out.
When using your own images, it's essential to ensure that you have correctly pasted the image URL in all the appropriate places. To assist you further, could you please provide us with the URL of the image you're trying to use? This will allow us to inspect the image and provide you with guidance on how to resolve the issue.
Looking forward to your response so that we can help you troubleshoot this problem.
All the best,
Akash Nithish, D-ID Tech Support Team.
onst presenterInputByService = {
talks: {
source_url: 'https://s3.amazonaws.com/static.theframeworks.com/temp/or-roman.jpeg',
},
clips: {
presenter_id: 'rian-lZC6MmWfC1',
driver_id: 'mXra4jY38i',
},
};
Hi Chris,
451 is an error raised when a celebrity image is being used.
Please use a different image and try again.
Another thing noticed is that your image in this link is not set to public in your s3 configuration, this might cause another error.
Let us know if you have any other questions.
Best,
Alon
D-ID Tech Support Team