charley wrote:Did the 7 at least seem to be receiving the stream created notification for the peer? You can also load up a javascript application to view streams (our tutorials are useful here:
http://tokbox.com/opentok/api/tools/js/ ... s/overview), this will help us isolate the misbehaving component (eg. publisher vs. subscriber)
On Nexus 7 the callback for Subscriber.Listener.onSubscriberDidConnect(Stream stream) is never called for the Nexus 4 subscriber stream. On Nexus 4 I get the callback when the Nexus 7 Subscriber streams connects and begins to play. I noticed the Nexus 4 is throwing a lot of System.err level LogCat messages. I can post a full PasteBin if needed but here is something I thought might be relevant:
12-04 16:14:12.505: I/OMXClient(20893): Using client-side OMX mux.
12-04 16:14:12.535: I/ACodec(20893): setupVideoEncoder succeeded
12-04 16:14:12.735: W/opentok-avc-enc(20893): input size mismatch expected 118784 got 115200
12-04 16:14:12.735: E/ACodec(20893): [OMX.qcom.video.encoder.avc] ERROR(0x80001009)
12-04 16:14:12.745: E/MediaCodec(20893): Codec reported an error. (omx error 0x80001009, internalError -2147483648)
12-04 16:14:12.745: W/System.err(20893): java.lang.IllegalStateException
12-04 16:14:12.745: W/System.err(20893): at android.media.MediaCodec.dequeueOutputBuffer(Native Method)
12-04 16:14:12.745: W/System.err(20893): at com.opentok.media.avc.AndroidAvcEncoder.offerEncoder(AndroidAvcEncoder.java:165)
12-04 16:14:12.745: W/System.err(20893): at com.opentok.media.avc.AndroidAvcEncoder.offerEncoder(AndroidAvcEncoder.java:1)
Seems like the Nexus 4 stream isnt outputting correctly which explains why the its not coming through on the other end. Let me know if there's additional testing I can perform to help.