subscriberView Too slow or stuck react-native-opentok

1

I'm using the react-native-opentok from callstakio, when I use only Subscriber it works normal, but when used subscriber + publisher the subscriber does not work correctly.

render() {

    return (
        <View>

           <SubscriberView
              apiKey={OPENTOK_API_KEY}
              sessionId={SESSION_ID}
              token={PUBLISHER_TOKEN}
              style={{ width: x, height: y-200}}
          />

          <PublisherView
              apiKey={OPENTOK_API_KEY}
              sessionId={SESSION_ID}
              token={PUBLISHER_TOKEN}
              style={{ width: x, height: 200}}
          />
        </View>

    );
}

}
    
asked by anonymous 17.02.2017 / 15:51

0 answers