oney/RCTWebRTCDemo

Overlay issue in android

Closed this issue · 1 comments

Hello @oney ,

Thanks for great work, I am using demo app and want to show remoteView on selfView , it works fine for all iOS devices but having same css , not working on android devices.

Using below css code

<RTCView streamURL={this.state.selfViewSrc} style={styles.selfView}/>
          {
            mapHash(this.state.remoteList, function(remote, index) {
              return <RTCView key={index} streamURL={remote} style={styles.remoteView}/>
            })
          }

css

selfView: {
        width: width,
        height: height-80,
        alignSelf: 'center',
        zIndex: 0,
    },
    remoteView: {
        position: 'absolute',
        zIndex: 2,
        marginTop: -120,
        width: 120,
        height: 120,
        left: 0,
        borderWidth: .5,
        alignSelf: 'flex-start',
    },

device-2016-07-22-173305
screen shot 2016-07-22 at 5 34 54 pm
please suggest me to show view as iOS for android devices.

How do yo fix it?