EricssonResearch / EricssonResearch/openwebrtc-examples

How to finish it?

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
336
Forks
209
PR merge metrics
No merged PRs in 30d

Description

The codes in OpenWebRTCNativeHandler

static void got_candidate(GObject *media_session, OwrCandidate *candidate, gpointer user_data)
{
NSLog(@">>>>>>>>>>>>>>>>>>>>>>>>>> Got local candidate");
GList *local_candidates;
g_return_if_fail(!user_data);

```
local_candidates = g_object_get_data(media_session, "local-candidates");
local_candidates = g_list_append(local_candidates, candidate);
g_object_set_data(media_session, "local-candidates", local_candidates);

if (staticSelf.delegate) {
[staticSelf.delegate candidateGenerate:@""];
// TODO: Send candidates.
NSLog(@"############################# TODO: Send candidate to other side (ICE trickle).");
}
```

}
Can you tell me how to send candidate to other side please? Thank you!!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.