andy5211d / DR2TVOverlay

OBS Script to provide video overlays displaying the information from Diverecorder
GNU General Public License v3.0
1 stars 0 forks source link

source code for DR_UDP_Monitor.exe #1

Closed SonnyWalkman closed 10 months ago

SonnyWalkman commented 10 months ago

Hello @andy5211d, Do you happen to have the source code for you monitoring tool?

I'm writing a script to add simple lower thirds for my lua script and like to modify your Monitor.exe to monitor the udp commands from my client app. I'm using go for programming my client.

andy5211d commented 10 months ago

Hi. Yes I do. Nothing special just me learning how to get at UDP ports and the Delphi version is the only one I could get to work correctly. Could not get c++ or C# to mulit-thread correctly even with all the web help! When back home I'll put the Delphi source in this repo. Won't be until next week sometime.

andy5211d commented 10 months ago

Source uploaded to Tools folder

SonnyWalkman commented 10 months ago

Thanks Andy, I’ve managed to get away with using ncat for windows and sent commands to my script.

Has been working without issues however be good to see how you put it together.

Programming in lua been interesting so far enjoying getting audio wav playing using media resource. Most what I wanted to get done I’ve learn by poaching bit here and there.

Question? Does your script send acknowledgments back to your client program?

Cheer

Rob

Sent from Gmail Mobile iPhone 14 Pro

On Thu, 4 Jan 2024 at 8:15 pm, Andy @.***> wrote:

Closed #1 https://github.com/andy5211d/DR2TVOverlay/issues/1 as completed.

— Reply to this email directly, view it on GitHub https://github.com/andy5211d/DR2TVOverlay/issues/1#event-11387257673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM4O2S3SDJP5OPN2VM5K3QLYMZXJ5AVCNFSM6AAAAABBHKSKJ6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGM4DOMRVG43DOMY . You are receiving this because you authored the thread.Message ID: @.***>

andy5211d commented 10 months ago

Hi Rob,

The UDP monitor was really an exercise in understanding UDP comms and also to get my Community version of Delphi to do something useful.

I’m part of a team that will be taking over Diverecorder (www.diverecorder.co.uk http://www.diverecorder.co.uk ) maintenance (and hopefully development) when the Author retires in a few years. He has written the suite in Delphi and as Delphi (Pascal) was the language we used at Uni (40 years ago now!) thought I’d get into a bit of software. Not sure this was a good idea…

Still my UDP monitor software does not do any ack and neither does my OBS scripts. UDP being a ‘fire and forget’ protocol and most of Diverecorders comms is UDP. That said I will have to get into the more complex protocol as I need my OBS scripts to get the Start List and Results List for display which can only be got from Diverecorder by an IP session.

Like you most of my programmes are copy and paste from somewhere on the web! But been playing with Bing AI in MS’s VS Code which is an interesting diversion…

Hmm, ncat, not visual enough for me but I do use Wireshark when I can be bothered to get it going! Something that I’ve found useful is Packet Sender, www.packetsender.com http://www.packetsender.com as it can replicate a lot of what I need to monitor and receive in OBS without having to run the originating software.

Cheers, Andy.

From: Sonny Walkman @. Sent: Thursday, January 4, 2024 9:41 AM To: andy5211d/DR2TVOverlay @.> Cc: Andy @.>; State change @.> Subject: Re: [andy5211d/DR2TVOverlay] source code for DR_UDP_Monitor.exe (Issue #1)

Thanks Andy, I’ve managed to get away with using ncat for windows and sent commands to my script.

Has been working without issues however be good to see how you put it together.

Programming in lua been interesting so far enjoying getting audio wav playing using media resource. Most what I wanted to get done I’ve learn by poaching bit here and there.

Question? Does your script send acknowledgments back to your client program?

Cheer

Rob

Sent from Gmail Mobile iPhone 14 Pro

On Thu, 4 Jan 2024 at 8:15 pm, Andy @.***> wrote:

Closed #1 https://github.com/andy5211d/DR2TVOverlay/issues/1 as completed.

— Reply to this email directly, view it on GitHub https://github.com/andy5211d/DR2TVOverlay/issues/1#event-11387257673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM4O2S3SDJP5OPN2VM5K3QLYMZXJ5AVCNFSM6AAAAABBHKSKJ6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGM4DOMRVG43DOMY . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/andy5211d/DR2TVOverlay/issues/1#issuecomment-1876790390 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO4QZFXD7VZQJTJYJMFF73YMZ2LHAVCNFSM6AAAAABBHKSKJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWG44TAMZZGA . You are receiving this because you modified the open/close state.Message ID: @.***>