code: def test_invalid_params_rtf(format):
      """
      Invalid parameter Failure Test - Made to fail by calling invalid parameters
      """
      np.random.seed(0)
      # generate random data for 10 frames
      random_data = np.random.random(size=(480, 640, 3)) * 255
      input_data = random_data.astype(np.uint8)
  
      stream_params = {"-vcodec": "unknown"}
      streamer = StreamGear(
          output="output{}".format(
              ".mpd" if format == "dash" else ".m3u8"
          ),
          format=format,
          logging=True,
          **stream_params,
      )
      streamer.stream(input_data)
      streamer.stream(input_data)
      streamer.terminate()
  
imports: import numpy
  import pytest
  from vidgear.gears import StreamGear
label_desc: Use image node_id 4 for calling a global function with example usage: test_invalid_params_rtf(format) without return types