# RPC protocol MixedReality WebRTC

**URL:** <https://openvidu.discourse.group/t/rpc-protocol-mixedreality-webrtc/3691>\
**Category:** Issues with deployment\
**Tags:** v2\
**Created:** [January 7, 2022, 2:51pm UTC](https://openvidu.discourse.group/t/rpc-protocol-mixedreality-webrtc/3691 "2022-01-07T14:51:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Striiki](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Striiki](https://openvidu.discourse.group/u/Striiki)\
**Post date:** [January 7, 2022, 2:51pm UTC](https://openvidu.discourse.group/t/rpc-protocol-mixedreality-webrtc/3691/1 "2022-01-07T14:51:26Z")

</div>

Hello guys i’m having an issue making things work with OpenVidu RPC and MixedReality- WebRTC.

The final problem is:  
If i publish my video i’m unable to receive video, and if i receive i’m unable to publish.  
When i try to handle both the same way i get the  
“Cannot apply remote description: Object not initialized.”

What i’m doing  
1 - I join a room with my session token  
2 - I publish video with the created SDP Offer (with mixed reality WebRTC)

The problem???:  
When i want to receive the video (again, using the RPC protocol), if i call “receiveVideoFrom” which sdp offer do i fill in the request?  
The same that i use to publish the video? The one i receive in the answer of publish video? I need to get it somewhere else?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![micael.gallego](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/micael.gallego/32/2_2.png) [@micael.gallego](https://openvidu.discourse.group/u/micael.gallego)\
**Post date:** [January 7, 2022, 3:24pm UTC](https://openvidu.discourse.group/t/rpc-protocol-mixedreality-webrtc/3691/2 "2022-01-07T15:24:38Z")

</div>

Hello @Striiki,

You have to create a brand new SDP offer to receive video from other participant.

Currently in OpenVidu every audio+video stream in a session has its own SDP negotiation (completely independent from others).

In the future we can maybe reuse the same transport for several streams.

Best regards
