Any endpoint can ask for the existing media profiles of a device using the
getProfiles command. Pre-configured or dynamically configured profiles
can be retrieved using this command. This command lists all configured
profiles in a device. The client does not need to know the media profile in
order to use the command.
A client uses the getSnapshotUri command to obtain a JPEG snapshot from
the device. The returned URI shall remain valid indefinitely even if the
profile is changed. The validUntilConnect, validUntilReboot and
timeout parameter shall be set accordingly (validUntilConnect=false,
validUntilReboot=false, timeout=PT0S). The URI can be used for
acquiring a JPEG image through a HTTP GET operation. The image encoding
will always be JPEG regardless of the encoding setting in the media
profile. The Jpeg settings (like resolution or quality) may be taken from
the profile if suitable. The provided image will be updated automatically
and independent from calls to getSnapshotUri.
This operation requests a Uri that can be used to initiate a live media
stream using RTSP as the control protocol. The returned URI shall remain
valid indefinitely even if the profile is changed. The validUntilConnect,
validUntilReboot and Timeout Parameter shall be set accordingly (
validUntilConnect=false, validUntilReboot=false, timeout=PT0S).
This command starts multicast streaming using a specified media profile of
a device. Streaming continues until StopMulticastStreaming is called for
the same Profile. The streaming shall continue after a reboot of the device
until a StopMulticastStreaming request is received. The multicast address,
port and TTL are configured in the VideoEncoderConfiguration,
AudioEncoderConfiguration and MetadataConfiguration respectively.