Comments (13)
This may have been fixed in version 1.3.5, could you try it?
from mediasoup-ios-client.
I tried it on v 1.3.5 it still not call onProduce
try to create produce : transport.produce(producerHandler, track: videotrack, encodings: nil, codecOptions: codecOptions)
flow onConnect -> sent event connectWebRtcTransport to signal server -> received success
but not call onProduce delegate
Thanks a lot!
from mediasoup-ios-client.
Can you share the logs?
Are you getting the produce response from the mediasoup server?
from mediasoup-ios-client.
"Are you getting the produce response from the mediasoup server?" NO
for send produce event should receive local onProduce in SendTransport delegate
it stopped here
logs:
`createVideoTrack() got device count = 1
createVideoTrack() use device <AVCaptureFigVideoDevice: 0x102969270 [Front Camera][com.apple.avfoundation.avcapturedevice.built-in_video:1]>
createProducer = [:]
videoView(:didChangeVideoSize:)
(360.0, 480.0)
(194.0, 354.0, 90.0, 120.0)
onConnect(:dtlsParameters:)
<SendTransport: 0x283631d00>
fed779c4-66ea-4d4f-ac6f-8016780283bb
##############################################
Emiting: connectWebRtcTransport
["data": ["dtlsParameters": {
fingerprints = (
{
algorithm = "sha-256";
value = "35:3C:80:39:84:56:1E:AB:5B:1B:6C:1A:4E:48:FD:82:1C:71:6C:4F:2E:EB:E3:0C:A7:42:DC:52:41:54:03:5F";
}
);
role = server;
}, "transportId": "fed779c4-66ea-4d4f-ac6f-8016780283bb"], "event": "connectWebRtcTransport"]
[
]
[]
onConnectionStateChange(_:connectionState:)checking`
from mediasoup-ios-client.
Is the video track created shown on the screen?
from mediasoup-ios-client.
Yes video is displayed.
It's happening also when create produce only audio track, and try to RecvTransport.consume(
from mediasoup-ios-client.
Does the below sample work?
https://github.com/ethand91/mediasoup-ios-client-sample
I can't reproduce this.
from mediasoup-ios-client.
Thanks !
I solved this with the implemented internal SendTransportHandler, but immediately after create producer catch in onConnectionStateChange(_:connectionState:) state failed.
What could be?
from mediasoup-ios-client.
Have you configured your mediasoup server transport ip to the ip of the server?
Do any error logs show up?
You could also try enabling logs on the mediasoup server instance.
from mediasoup-ios-client.
I setted ip of the server, but i am catching error on connect more then one consumer:
"Terminating app due to uncaught exception 'RuntimeException', reason: 'Failed to set remote offer sdp: Duplicate a=mid value '1'.'"
What could be?
Thanks!
from mediasoup-ios-client.
Does it work if connect is run synchronously?
from mediasoup-ios-client.
This happen every time when consume more than 2 consumers
from mediasoup-ios-client.
duplicate of #35
from mediasoup-ios-client.
Related Issues (20)
- Master Broken build.
- 'api/media_stream_interface.h' file not found HOT 2
- Why m84 branch?
- EXC_BAD_ACCESS when trying to close producer HOT 1
- How to use DataChannel? HOT 1
- HELP:delegate TransportListener onConnect not fired!
- [ERROR] Handler::Send() | throwing MediaSoupClientError: error creating transceiver [ERROR] transport_wrapper::+[TransportWrapper nativePro
- how can I build the project with webrtc m79 HOT 1
- Error: Include of non-modular header inside framework module
- Any plan on release a new version of framework that can be used directly? HOT 3
- Create AudioTrack From Local File?
- Link error in xcode 13
- IOS app can't see video using H264 HOT 2
- upload Appstore connect Unsupported Architectures HOT 2
- mediasoup_ios_client (1.5.4) 显示对方的图像的RTCVideoTrack 黑屏问题。
- gclient sync fails (no such tag) on mac m1
- Add mediasoup to sdk locally
- how to give stun/turn server in transport
- Memory Leaks in mediasoup ios client v 1.5.3 HOT 1
- MIcrophone stays open after calling ended
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 mediasoup-ios-client.