FileMp4OutputEvent

Field

Type

Repeated

Description

message

oneOf

⮑node_id

MediaNodeId

⮑subscription_response

SubscriptionResponse

⮑inbound_context

Context

⮑stream_statistics

MultiStreamStatistics

⮑status

FileMp4OutputStatus

Argument of

Method

Description

CreateOutputFileMp4

Output MP4 files to disk, both fragmented and non-fragmented.

The fragmented output is required.

The optional non-fragmented filename will be written after sending the close message and will be fully written by the time the node is closed. This sets up a temp file to store the frame data by appending the extension .tmp.

A non-fragmented MP4 file can be written on request with the write_file message, which uses the frame data store if nonfragmented_file_name was given or reads back the fragmented mp4 if there is no non-fragmented file.