Does the publishVideo JSON need a filter entry?

Need a filter entry for publishVideo json messages?
If necessary, why isn’t it marked in the documentation?

Please tell me in what form to put it.
Thank you in advance.

It is not a mandatory parameter. Yet you can provide if you would like the Publisher stream to start with the filter already enabled, instead of having to call applyFilter method later. But again, the publishVideo RPC method will not fail if there is no filter param available.

I have already commited a fix in the RPC documentation nonetheless (Updated publishVideo RPC parameters · OpenVidu/openvidu.io-docs@4c1d522 · GitHub).

I wrote in C#
filter.options = “{“command”:“videobalance saturation=0.0”}”;
filter.type = ““GStreamerFilter””;

Run error : {“id”:635,“error”:{“code”:406,“message”:"‘filter’ parameter wrong:Not a JSON Object: “{\“command\”:\“videobalance saturation=0.0\”}”. Code: 406"},“jsonrpc”:“2.0”}

How fix it?

I am not a C expert, I’m sorry

If the filter item is not required, is it possible without it?
What is the cause of the java.lang.NullPointerException error even if the values of id, jsonrpc, method, audioActive, doLoopback, frameRate, hasAudio, hasVideo, sdpOffer, typeOfVideo, videoActive, videoDimensions are filled in?

Sorry for the many questions.