mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 12:40:19 +00:00
Fixed Jumbo sending
Do not errorneously use Jumbo frames - there was check if receiver is a loopback address before assigning it (using default value ::1).
This commit is contained in:
16
src/main.cpp
16
src/main.cpp
@@ -893,6 +893,14 @@ int main(int argc, char *argv[])
|
||||
argc -= optind;
|
||||
argv += optind;
|
||||
|
||||
if (argc > 0) {
|
||||
requested_receiver = argv[0];
|
||||
}
|
||||
|
||||
if (!audio_host) {
|
||||
audio_host = requested_receiver;
|
||||
}
|
||||
|
||||
if (!set_output_buffering()) {
|
||||
log_msg(LOG_LEVEL_WARNING, "Cannot set console output buffering!\n");
|
||||
}
|
||||
@@ -974,14 +982,6 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
if (argc > 0) {
|
||||
requested_receiver = argv[0];
|
||||
}
|
||||
|
||||
if (!audio_host) {
|
||||
audio_host = requested_receiver;
|
||||
}
|
||||
|
||||
if((strcmp("none", audio_send) != 0 || strcmp("none", audio_recv) != 0) && strcmp(video_protocol, "rtsp") == 0){
|
||||
//TODO: to implement a high level rxtx struct to manage different standards (i.e.:H264_STD, VP8_STD,...)
|
||||
if (strcmp(audio_protocol, "rtsp") != 0) {
|
||||
|
||||
Reference in New Issue
Block a user