1
I am using callstakio’s React-Native-opentok, when using only Subscriber it works normal, but when used Subscriber+Publisher Subscriber does not work properly.
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>
);
}
}
You have a
}
the most... is to close the class? Any error in the console?– Sergio
That } left over is what closes the class. The problem is that Subscriber hangs or gets very slow after a few seconds of use
– Lucas Souza
We need to see more of the code... what you put says little, we don’t even know where the
x
,y
etc....– Sergio