.srcObject does is null code example
Example: .srcObject
The srcObject property of the HTMLMediaElement interface sets or returns the
object which serves as the source of the media associated with the
HTMLMediaElement. The object can be a MediaStream, a MediaSource, a Blob, or a
File (which inherits from Blob).