Discussions
WebRTC Video Streaming Issue with D-ID API on iOS: Only Audio, No Video
Hi,
I am currently working on integrating D-ID API with an iOS application. We use WebRTC for video streaming, and this was implemented in the app side. But despite following the provided documentation and guidelines, I am encountering an issue where only audio is streamed, and no video is displayed.
The talk stream is successfully created and we can listen to the audio, but it seems the app is not processing any video, and no video frame is received. I suspect it has to do with the SDP offer and Answer process. After retrieving the SDP offer from the D-ID server my client generates an SDP answer, but it appears that the video m-line
is inactive (m=video 0 UDP/TLS/RTP/SAVPF 0)
, which I suspect it might be the root cause of the problem.
I tried setting constraints for the SDP answer like: "OfferToReceiveAudio": "true"
and "OfferToReceiveVideo": "true"
.But still the video stream is not active.
The SDP answer generated by my client does not seem to support video streaming, as indicated by the video m-line settings. Are there specific settings or configurations I might be missing for the video stream to be active in the SDP answer?
Thanks!