Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

when will the onStreamAdded be invoked?

Zhen_L_
Beginner
80 Views

I am building my app with p2p webrtc

I was looking at my signal channel for the communication between the two devices.

I notice that "onAccepted" side sends "sdp offer" and about 7 ice candidates (with both video and audio) the "accept" replied with "sdp answer "and 2 candidates.

I notice that the answer side did not send any video candidates. Is it normal? If not, any idea where I should look to try to fix it?

If it is expected, should the onStreamAdded be invoked? I am not seeing it getting triggered. 

0 Kudos
1 Reply
He_Z_Intel
Employee
80 Views

Hi zhen,

if you would like to send video streams to the peer, please call API publish.

onStreamAdded will be triggered when the peer sends a stream.

Reply