A local stream has to be initialized at the Client End Point before you can publish it to the Room. The initialization process includes specifying media tracks, adding custom attributes etc. in a form of an object.
Props: publishStreamProp– Object definition given below:
publishStreamProp: {
audio: true, // Whether to add Audio to stream
video: true, // Whether to add Video to stream
data: true, // Whether to add Data to stream
name: "React Native",
minWidth: "number", // Deprecated in React Native SDK v1.6+
minHeight: "number", // Deprecated in React Native SDK v1.6+
maxWidth: "number", // Deprecated in React Native SDK v1.6+
maxHeight: "number", // Deprecated in React Native SDK v1.6+
audioMuted: true, // Audio muted on entry to room
videoMuted: true, // Video muted on entry to room
maxVideoBW: number, // Max Bandwidth - Deprecated in React Native SDK v1.6+
minVideoBW: number // Min Bandwidth - Deprecated in React Native SDK v1.6+
}
