awslabs / amazon-kinesis-video-streams-webrtc-sdk-android

Android SDK for interfacing with Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
58 stars 37 forks source link

Peer to Peer Streaming between Embedded SDK as master and Android device as viewer - viewer can only see its' own camera media stream #49

Closed ensean closed 3 years ago

ensean commented 3 years ago

When using IPC as webrtc master, the media stream from the IPC camera can be viewed from the web console, but can not be viewed from the android app (viewer mode). Any suggestion on how to determine the cause?

disa6302 commented 3 years ago

@ensean ,

Can you check if the SDP exchange was successful? I suspect it is an issue with the H264 profile being chosen. You might have to add some code in the android SDK to ensure successful SDP exchange and proper encoding/decoding of the media. Check this file out. It has some helper functions that could be useful.

ensean commented 3 years ago

@disa6302 After several test, we found that this issue is related to device vendor.

Is this related to https://github.com/react-native-webrtc/react-native-webrtc/issues/476#issuecomment-505456365 ?

disa6302 commented 3 years ago

@ensean ,

It is possible, but I cannot confirm since I have not worked with these devices.

disa6302 commented 3 years ago

Closing since this is platform specific. Feel free to reach if you have any other questions.