owt-client-native icon indicating copy to clipboard operation
owt-client-native copied to clipboard

subscribe the forward stream failed

Open dragon8609 opened this issue 3 years ago • 3 comments

When the mobile app was entered the room.Then my C++ app enter the room and push the stream(mix). Now my mobile app push the stream so that the C++ app OnStreamAdded(std::shared_ptr<RemoteStream> stream) call. I subscribe the remote stream OnStreamAdded callback,but it failed,The exception is "Failed to set local description". When I set the log level to info level ,I see the follow message:

(conferencepeerconnectionchannel.cc:596): Subscribe a remote stream. It has audio? 0, has video? 0

If My C++ app enter room and push the stream first ,then the mobile app enter room and push steam without a break. And I can see the log message changed: (conferencepeerconnectionchannel.cc:596): Subscribe a remote stream. It has audio? 1, has video? 1 And I subscribe succeed!

What's problem with my C++ code? Thanks!

dragon8609 avatar Dec 10 '22 02:12 dragon8609

I've had the same problem with iOS subscription streaming, but it's not a must-have, and I think it's probably an internal bug

DiamoandDog avatar Dec 17 '22 01:12 DiamoandDog

Have you solved the problem? Is there any way to solve it

DiamoandDog avatar Dec 19 '22 02:12 DiamoandDog

May be is a bug for server,The server modified some code my problem had gone!

The workmate tell me that the problem is the "SIGNALING_PROTOCOL_VERSION" is different from two owt-client,one is 1.2 and one may be 1.0. But the code he modified I can't submit here! Good luck.

Have you solved the problem? Is there any way to solve it

dragon8609 avatar Dec 26 '22 09:12 dragon8609