Sample code to stream an IP camera or the desktop to social media networks (e.g. Facebook). Requires the Datastead RTSP/RTMP/HTTP/ONVIF Source for the camera capture…
From the TVideoGrabber SDK the typical sample code is; e.g. to stream the screen capture (adjust eventually destination IP, bitrate, etc…): VideoGrabber.VideoSource = vs_ScreenRecording; VideoGrabber.UseNearestVideoSize…
– install the Datastead NDI filters – use the following sample code (e.g. for the player) Videograbber.PlayerFileName = “c:\myfolder\myvideo.mp4”; Videograbber.NetworkStreaming = ns_NDI; VideoGrabber.NDIName = “myNDIsession”;…