Comments (5)
There is another way to reproduce this issue...
On the client native sample app:
- Connect to 11
- Set Remote to 12
- Click the text button
Note: the stress here is that the caller is not connected, so I expect the message to return message failed.
- Observe the message failed to send
On the caller side:
- Login to 12
- Set Remote ID to 11
- Share Camera
I'd expect this to succeed, but instead it gives the same error message as before.
from owt-client-native.
I met same problem when run windows p2p sample. How to fix this problem?
from owt-client-native.
I hope to hear some response on this... at the very least it should be flagged as p2p and bug. The key is peerconnectionchannel.cc: line 106 as a starting point. I have some other tasks that are on the front burner, but if this case is still open by then... I may take a look at how to solve it.
from owt-client-native.
Ok with today's epic merge of branch 76. (pr #216 ).. I will eventually come back to this issue as time allows and see if it is still present.
For now... I've worked around this problem by monitoring when the caller logs off. I found that OnServerDisconnected() is currently not used for p2p, so I'm using this as a gateway signal to the client code in order to keep changes in the sdk to a minimum. When the caller logs off, I then issue a reset to the app client code which spawns a DPC that disconnects, waits a second, and reconnects. (see initial entry about resetting the signaling_channel_ for that to work). I do not plan to submit these changes for pr as I feel it is a work-around solution, while mentioning this now to help others in the short term.
This solution is not perfect in that a caller may drop the call without logging off, in which case I can monitor the stream or provide a manual reset work-around, both of which do the same solution, but have their own triggering methods to get there.
from owt-client-native.
As an addendum to the last entry I've handled the stress of a caller dropping the call by use of GetConnectionStats()... loose polling this when the video feed is lost. This will let me know the moment the connection is lost.
from owt-client-native.
Related Issues (20)
- version5.0.x crash on ios: sdallocx(ptr, size + OPENSSL_MALLOC_PREFIX, 0 /* flags */);
- rtc::TimeMillis or rtc::TimeUTCMillis ?
- build_linux.py clang verison of libowt.a cause memory issue HOT 4
- Building on Windows10 21H2 failed,metrics_logger_and_exporter.cc(58) : fatal error C1001 HOT 2
- Build for iOS failed: the following arguments are required: --sio_root HOT 5
- Keeping a steady resolution (RTC configuration: enableCpuOveruseDetection?) HOT 9
- Android support HOT 3
- Windows desktop software can publish cameras and desktops, but cannot subscribe to video streams HOT 1
- sometimes p2pclient::stop function will happen block HOT 1
- Where can I download the binary release?
- OWT Fails to Stream Full HD (1920x1080) Video on newer iPhones than iPhone 11 HOT 2
- how to get microphone data,is there any interface can call?
- Streaming Issues with OWT iOS version 5.1 rc1
- State of the Open WebRTC Toolkit project HOT 2
- OWT fails to build with latest MSVC 2022 - 17.8.0 HOT 1
- build for iOS reports error: ABSL_HAVE_THREAD_LOCAL should be defined for MacOS / iOS Targets HOT 1
- OWT build in Ubuntu have error
- _OBJC_CLASS_$_RTCVideoDecoderFactoryH265, referenced from: in ViewController.o HOT 1
- build error ios HOT 2
- ios The owt.framework reference fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from owt-client-native.