Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP:delegate TransportListener onConnect not fired! #116

Open
walley139 opened this issue Nov 17, 2021 · 0 comments
Open

HELP:delegate TransportListener onConnect not fired! #116

walley139 opened this issue Nov 17, 2021 · 0 comments

Comments

@walley139
Copy link

walley139 commented Nov 17, 2021

mediasoup version = 3.0.8

firstly I request "getRouterRtpCapabilities",and it responses successfully.Then call device load,request"createWebRtcTransport",

###response:
{
data = {
dtlsParameters = {
fingerprints = (
{
algorithm = "sha-1";
value = "82:7A:47:2D:F4:52:C9:54:D9:72:36:41:00:8F:36:43:69:DB:67:A6";
},
{
algorithm = "sha-224";
value = "F0:D8:0F:AB:64:06:82:2C:F3:4E:65:69:5B:01:CD:FC:67:F3:94:CB:17:43:90:A0:83:F7:A7:A6";
},
{
algorithm = "sha-256";
value = "27:7E:B9:B4:7A:7C:7A:53:A6:1D:4E:CF:18:10:86:33:C4:31:7A:C7:6F:C2:4C:FC:6E:A3:EC:E7:30:BB:D9:96";
},
{
algorithm = "sha-384";
value = "F1:E6:66:FD:11:A8:96:D7:83:40:D7:47:1F:86:3D:8D:4F:B4:53:AA:0B:57:69:7C:CD:70:C2:F0:E1:05:03:BF:9A:D5:62:17:F2:FA:1D:10:88:B3:2E:9F:7E:47:43:26";
},
{
algorithm = "sha-512";
value = "9A:F0:AB:F0:EA:1F:C3:83:C8:D9:9D:11:42:70:F3:1E:33:FC:F8:21:87:FE:98:F8:7C:25:FA:64:5B:F3:50:6B:2D:D8:CC:79:12:60:F5:D9:A1:AD:CA:1F:75:2D:5F:DA:D4:23:01:8C:CC:B1:B3:81:71:02:D2:76:0D:59:E3:0A";
}
);
role = auto;
};
iceCandidates = (
{
foundation = udpcandidate;
ip = "180.167.180.242";
port = 40008;
priority = 1076302079;
protocol = udp;
type = host;
}
);
iceParameters = {
iceLite = 1;
password = 6v5rl8h6n22ehvmtjkq8i16bcjrjykza;
usernameFragment = tq42or4xqltdkaxc;
};
id = "bcb17cfc-a495-4dfd-9464-d2e4da2bf4c1";
sctpParameters = {
MIS = 1024;
OS = 1024;
isDataChannel = 1;
maxMessageSize = 262144;
port = 5000;
sctpBufferedAmount = 0;
sendBufferSize = 262144;
};
};
id = 100003;
ok = 1;
response = 1;
}

###then I call createRecvTransport and request join,
###response:

data = {
appData = {
};
dataProducerId = "aa2025f8-79c3-4de1-95b5-0f09c27e5553";
id = "051ddea9-4be0-4a0f-a02b-4e85298b7c68";
label = bot;
peerId = "";
protocol = "";
sctpStreamParameters = {
ordered = 1;
streamId = 0;
};
};
id = 8558358;
method = newDataConsumer;
request = 1;
}

###but the delegate does not fired ,and I cann't call function of connect .

code :

self.recvTransport = [self.device createRecvTransport:self.delegate id:transportId iceParameters:[iceParameter wd_jsonPrettyStringEncoded] iceCandidates:[iceCandidatesArray wd_jsonPrettyStringEncoded] dtlsParameters:[dtlsParameters wd_jsonPrettyStringEncoded] sctpParameters:[sctpParameters wd_jsonPrettyStringEncoded] options:nil appData:nil];

 [self join];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant