Randomly, transmission stops - M1Max64GB, receiving NDI from other PC

nunowonder

New Member
Hello!
So, to get you inside the problem, let me introduce myself, and my setup:

I am a Live Streamer, transmitting to Twitch, who uses 2 computers:

- Desktop Computer with Windows10 to play games - using NDI inside OBS 28, and transmitting as a simple OUTPUT;

- MacBookPro M1Max64GB to transmit to Twitch, with OBS_28.1.2 (M1, or Silicon, or Arm version), that receives NDI with NDI5 sources (actually, audio is received with Audio_Input_Capture Source - and I have to use NDI Virtual Input to capture that NDI sound in another source, because there's a huge problem with NDI5 plugin source - that's other problem but OBS-NDI plugin is working on it, but basically the audio on that plugin is distorting in one of the stereo channels).

Both computers are connected to router wired, with CAT6 cables.

WHAT IS THE PROBLEM?
Connection to twitch sometimes stops.

WHAT HAPPENS WHEN THE PROBLEM OCCURS?
It's strange, but every time the OBS stops transmitting (going to "RED" the little square on bottom right part of the OBS window, and kbps goes to 0), the computer MacBookPro that is transmitting, don't have access to internet.
The router simply "crashes" that LAN port, and only that, because Desktop, gaming computer, continues with access to the internet. Even if I restart MacBookPro, the connection to internet via that LAN port is broken.
So, I have to turn off and on router, and then everything is ok again and I can start streaming again.

WHAT I FOUND?
I am almost sure that this only happened while I was transmitting a NDI source from Desktop to MacbookPro (for example, while playing a game and transmitting it thought my local network to the other computer).
I am not 100% sure, but I think it was only on those situations.

WHAT I THINK IT IS?
Most of the times It happens while I think I'm having Wifi activity in other equipment, like someone in my house using internet to see Netflix or something. But I'm really not sure it's that.
Also, when I'm transmitting a game through Desktop to MacBookPro, I can see on Windows task manager, that there's a huge mass of data transmitting out via Windows OBS, of course. But that was never a problem, actually, as I always did this, and most of the times this works ok and transmission don't fail.
So maybe Is because of my Internet Provider. I only have 100mb of upload. But well, as I said already, I think this only occurred while receiving gaming data from NDI.

WHAT IS WEIRD?
It's weird that I Live stream for like 5 months, and the problem started for like a month or two.
Maybe it was when I installed, finally, OBS 28 in MacBookPro (because OBS28 have support for Apple Silicon processors, but OBS-NDI plugin was not implemented 1 or 2 months ago, in those OBS versions).

______________
Here´s a log file in the moment the transmission stops:

00:04:32.222: WriteN, RTMP send error 35 (4104 bytes)
00:04:32.222: [rtmp stream: 'adv_stream'] Disconnected from rtmp://mad01.contribute.live-video.net/app
00:04:32.222: Output 'adv_stream': stopping
00:04:32.223: Output 'adv_stream': Total frames output: 122257 (122567 attempted)
00:04:32.223: Output 'adv_stream': Total drawn frames: 122673 (122680 attempted)
00:04:32.223: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 7 (0.0%)
00:04:32.223: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 310 (0.3%)
00:04:32.223: Output 'adv_stream': Reconnecting in 2.00 seconds..
00:04:32.223: [rtmp stream: 'adv_stream'] Freeing 611 remaining packets
00:04:32.227: Video stopped, number of skipped frames due to encoding lag: 4/122590 (0.0%)
00:04:34.232: [VideoToolbox advanced_video_stream: 'h264']: session created with hardware encoding
00:04:34.242: [VideoToolbox advanced_video_stream: 'h264']: settings:
00:04:34.242: vt_encoder_id com.apple.videotoolbox.videoencoder.ave.avc
00:04:34.242: rate_control: CBR
00:04:34.242: bitrate: 6000 (kbps)
00:04:34.242: quality: 0.600000
00:04:34.242: fps_num: 60
00:04:34.242: fps_den: 1
00:04:34.242: width: 1920
00:04:34.242: height: 1080
00:04:34.242: keyint: 2 (s)
00:04:34.242: limit_bitrate: on
00:04:34.242: rc_max_bitrate: 7800 (kbps)
00:04:34.242: rc_max_bitrate_window: 1.500000 (s)
00:04:34.242: hw_enc: on
00:04:34.242: profile: high
00:04:34.242:
00:04:34.244: [CoreAudio AAC: 'adv_stream_aac']: settings:
00:04:34.244: mode: AAC
00:04:34.244: bitrate: 160
00:04:34.244: sample rate: 48000
00:04:34.244: cbr: on
00:04:34.244: output buffer: 1536
00:04:34.245: [CoreAudio AAC: 'adv_archive_aac']: settings:
00:04:34.245: mode: AAC
00:04:34.245: bitrate: 160
00:04:34.245: sample rate: 48000
00:04:34.245: cbr: on
00:04:34.245: output buffer: 1536
00:04:34.245: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://mad01.contribute.live-video.net/app...
00:05:04.253: Could not resolve mad01.contribute.live-video.net: Unknown error (0)
00:05:04.253: Output 'adv_stream': Reconnecting in 2.95 seconds..
00:05:04.253: [rtmp stream: 'adv_stream'] Connection to rtmp://mad01.contribute.live-video.net/app failed: -2
00:05:07.207: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://mad01.contribute.live-video.net/app...


________________
In the same day, 45 minutes (more or less) after I tried to start again, here's another LOG file:

00:52:28.597: WriteN, RTMP send error 35 (1626 bytes)
00:52:33.939: WriteN, RTMP send error 32 (80 bytes)
00:52:33.939: WriteN, RTMP send error 9 (42 bytes)
00:52:33.939: [rtmp stream: 'adv_stream'] Disconnected from rtmp://mad01.contribute.live-video.net/app
00:52:33.939: Output 'adv_stream': stopping
00:52:33.939: Output 'adv_stream': Total frames output: 141286 (142319 attempted)
00:52:33.939: Output 'adv_stream': Total drawn frames: 142464 (142481 attempted)
00:52:33.939: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 17 (0.0%)
00:52:33.939: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1033 (0.7%)
00:52:33.939: Output 'adv_stream': Reconnecting in 2.00 seconds..
00:52:33.939: Video stopped, number of skipped frames due to encoding lag: 3/142378 (0.0%)
00:52:33.939: [rtmp stream: 'adv_stream'] Freeing 1635 remaining packets
00:52:35.950: [VideoToolbox advanced_video_stream: 'h264']: session created with hardware encoding
00:52:35.960: [VideoToolbox advanced_video_stream: 'h264']: settings:
00:52:35.960: vt_encoder_id com.apple.videotoolbox.videoencoder.ave.avc
00:52:35.960: rate_control: CBR
00:52:35.960: bitrate: 6000 (kbps)
00:52:35.960: quality: 0.600000
00:52:35.960: fps_num: 60
00:52:35.960: fps_den: 1
00:52:35.960: width: 1920
00:52:35.960: height: 1080
00:52:35.960: keyint: 2 (s)
00:52:35.960: limit_bitrate: on
00:52:35.960: rc_max_bitrate: 7800 (kbps)
00:52:35.960: rc_max_bitrate_window: 1.500000 (s)
00:52:35.960: hw_enc: on
00:52:35.960: profile: high
00:52:35.960:
00:52:35.961: [CoreAudio AAC: 'adv_stream_aac']: settings:
00:52:35.961: mode: AAC
00:52:35.961: bitrate: 160
00:52:35.961: sample rate: 48000
00:52:35.961: cbr: on
00:52:35.961: output buffer: 1536
00:52:35.962: [CoreAudio AAC: 'adv_archive_aac']: settings:
00:52:35.962: mode: AAC
00:52:35.962: bitrate: 160
00:52:35.962: sample rate: 48000
00:52:35.962: cbr: on
00:52:35.962: output buffer: 1536
00:52:35.963: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://mad01.contribute.live-video.net/app...


Please help me, I'm so much frustrated...
 
Top