Giter Site home page Giter Site logo

Comments (13)

ethand91 avatar ethand91 commented on August 9, 2024

This may have been fixed in version 1.3.5, could you try it?

from mediasoup-ios-client.

DinuNuta avatar DinuNuta commented on August 9, 2024

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.

ethand91 avatar ethand91 commented on August 9, 2024

Can you share the logs?
Are you getting the produce response from the mediasoup server?

from mediasoup-ios-client.

DinuNuta avatar DinuNuta commented on August 9, 2024

"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`

Screen Shot 2020-05-27 at 11 36 44
Thanks!

from mediasoup-ios-client.

ethand91 avatar ethand91 commented on August 9, 2024

Is the video track created shown on the screen?

from mediasoup-ios-client.

DinuNuta avatar DinuNuta commented on August 9, 2024

Yes video is displayed.
It's happening also when create produce only audio track, and try to RecvTransport.consume(

from mediasoup-ios-client.

ethand91 avatar ethand91 commented on August 9, 2024

Does the below sample work?
https://github.com/ethand91/mediasoup-ios-client-sample

I can't reproduce this.

from mediasoup-ios-client.

DinuNuta avatar DinuNuta commented on August 9, 2024

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.

ethand91 avatar ethand91 commented on August 9, 2024

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.

DinuNuta avatar DinuNuta commented on August 9, 2024

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.

ethand91 avatar ethand91 commented on August 9, 2024

Does it work if connect is run synchronously?

from mediasoup-ios-client.

DinuNuta avatar DinuNuta commented on August 9, 2024

This happen every time when consume more than 2 consumers

from mediasoup-ios-client.

ethand91 avatar ethand91 commented on August 9, 2024

duplicate of #35

from mediasoup-ios-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.