# Ios client set offer and add stream ,only support 3-way travel

**URL:** <https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51>\
**Category:** Uncategorized\
**Created:** [March 7, 2019, 8:32am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51 "2019-03-07T08:32:50Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 8:32am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/1 "2019-03-07T08:32:50Z")

</div>

I made a ios client, ios client send offer and addstream to others,but only support 3-way up travel,but down travel can support more。If I send answer,it can support more way.Does anyone know why?

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [March 7, 2019, 8:44am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/2 "2019-03-07T08:44:06Z")

</div>

Can you please rephrase? I don’t know what that “3 way travel” means.

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 8:46am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/3 "2019-03-07T08:46:49Z")

</div>

For example, there are six people in the room, a, b, c, d, e,f,  
a is the IOS client,a is last one into the room, a can see other people, but only three of the others can see a, the remaining two can only hear a’s voice.

this a is offer

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 8:49am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/4 "2019-03-07T08:49:00Z")

</div>

if a is not the last one into the room ,every one can see a, also a can see every one

this a is answer

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 9:01am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/5 "2019-03-07T09:01:19Z")

</div>

And I try at website use wrtc，do not have this problem，

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 9:07am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/6 "2019-03-07T09:07:02Z")

</div>

In my IOS app, there are 5 or more users communicating with RTC. One client creates 4 RTC instances to communicate with other 4 clients. And this one can receive all the videos from other 4 clients, but only 3 clients can get this one’s video.  
That means one client can create 4 RTC instances but can only send video data to 3 other client s. Is that right?

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [March 7, 2019, 9:31am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/7 "2019-03-07T09:31:45Z")

</div>

There is no imosed limit. The limit is usuaklly given by bandwidth / CPU usage.

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 7, 2019, 9:34am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/8 "2019-03-07T09:34:05Z")

</div>

but ,if the one is answer ,there is no problem,

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 8, 2019, 6:08am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/9 "2019-03-08T06:08:09Z")

</div>

I check the track ,when the one can not see ios app video ,the track’s muted is true .It’s the fourth clients begin receive the track with the muted=true.  
how can I change this read-only property ?

---

<div class="post-metadata">

**Author:** ![saghul](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/saghul/32/4_2.png) [@saghul](https://react-native-webrtc.discourse.group/u/saghul)\
**Post date:** [March 8, 2019, 8:49am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/10 "2019-03-08T08:49:44Z")

</div>

You can’t. A remote track shows as muted if no traffic is detected on it.

---

<div class="post-metadata">

**Author:** ![iamadk](https://avatars.discourse-cdn.com/v4/letter/i/c37758/32.png) [@iamadk](https://react-native-webrtc.discourse.group/u/iamadk)\
**Post date:** [March 14, 2019, 7:08am UTC](https://react-native-webrtc.discourse.group/t/ios-client-set-offer-and-add-stream-only-support-3-way-travel/51/11 "2019-03-14T07:08:11Z")

</div>

Ok，I figure out the problem 。It’s iphone’s hardware didn’t support too many hardware videocodec。When I change to software videocodec ,every thing is OK。  
But if use software ,height and width,FPS can’t not to be set in constraints。 I can only set the MaxVideoBps and MaxAudioBps to control the quality。
