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

[apps] Receive the connection event on the client (caller) socket #597

Merged
merged 4 commits into from
Mar 11, 2019

Conversation

maxsharabayko
Copy link
Collaborator

The fix makes it possible to receive the connection event on the client (caller) socket. The following conditions have to be met:

  • The epoll should have SRT_EPOLL_OUT flag set.
  • When you call srt_epoll_wait(...), the writefds argument has to be passed.

Fixes #410

@maxsharabayko maxsharabayko added the [apps] Area: Test applications related improvements label Mar 7, 2019
@maxsharabayko maxsharabayko added this to the v.1.3.3 milestone Mar 7, 2019
@maxsharabayko maxsharabayko requested a review from rndi March 7, 2019 16:05
@maxsharabayko maxsharabayko changed the title Hotfix/stransmit caller epoll [apps] Receive the connection event on the client (caller) socket Mar 7, 2019
@maxsharabayko maxsharabayko force-pushed the hotfix/stransmit-caller-epoll branch from a207e59 to 809a375 Compare March 7, 2019 17:14
@maxsharabayko maxsharabayko marked this pull request as ready for review March 7, 2019 18:11
@rndi rndi merged commit a0391c3 into Haivision:master Mar 11, 2019
@maxsharabayko maxsharabayko deleted the hotfix/stransmit-caller-epoll branch March 12, 2019 15:13
maxsharabayko added a commit to maxsharabayko/srt that referenced this pull request Mar 26, 2019
After PR Haivision#597. Sender-listener. tar->GetSRTSocket() returns bind socket at the start, but then the accepted socket when connection happens. While the bind socket is still in the srtrwfds list of polled sockets.
rndi pushed a commit that referenced this pull request Mar 26, 2019
After PR #597. Sender-listener. tar->GetSRTSocket() returns bind socket at the start, but then the accepted socket when connection happens. While the bind socket is still in the srtrwfds list of polled sockets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[apps] Area: Test applications related improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No connection status feedback on connecting side (srt-live-transmit / stransmit)
2 participants