code: def test_playback(address, port):
      """
      Tests NetGear Bare-minimum network playback capabilities
      """
      stream = None
      server = None
      client = None
      try:
          # open stream
          stream = cv2.VideoCapture(return_testvideo_path())
          # open server and client with default params
          client = NetGear(
              address=address, port=port, receive_mode=True
          )
          server = NetGear(address=address, port=port)
          # playback
          while True:
              (grabbed, frame_server) = stream.read()
              if not grabbed:
                  break
              server.send(frame_server)  # send
              frame_client = client.recv()  # recv
      except Exception as e:
          if (
              isinstance(e, (ZMQError, ValueError, RuntimeError))
              or address == "172.31.11.15.77"
          ):
              logger.exception(str(e))
          else:
              pytest.fail(str(e))
      finally:
          # clean resources
          if not (stream is None):
              stream.release()
          if not (server is None):
              server.close()
          if not (client is None):
              client.close()
  
imports: import os
  import platform
  import queue
  import cv2
  import numpy
  import pytest
  import random
  import logging
  import tempfile
  from zmq.error import ZMQError
  from vidgear.gears import NetGear, VideoGear
  from vidgear.gears.helper import logger_handler
label_desc: Use image node_id 2 for calling a global function with example usage: test_playback(address, port) without return types