# Remark of .conf file notation
#---------------------------------------------------------------------------
# Append    ;Runtime    at end of line would make that variable volatile. It would not be saved
#                       during power-off stage. The variable restored as .conf after rebooting.
# Note that if "YES" and "NO" value is used in the file. The variable type would be Integer, not
# a string type. It is considered as a boolean type, which is processed as integer internally.
#---------------------------------------------------------------------------
#SDK

#Set 1 for allowing retrieve JPEG thumbnail while streaming. Because streaming takes lots of bandwidth,
#  enabling this would make streaming on and off and the overall system would be slow.
Camera.Preview.MJPEG.AllowThumbnail=1

#---- Source Nodes for Projects --------------------------------------------
Ass.CSrcNode.Totals=0

#Append the followings if the project needs it. Don't format to change the number of the node
#Don't format to add related media files and node files in the build.

#requires srcEncMP3.c, rtp-mpa.c
#Ass.CSrcNode.?.Type="EncMP3"
#Ass.CSrcNode.?.Name="AUDIO.0"
#Ass.CSrcNode.?.Attr.FramePool=32
#Ass.CSrcNode.?.Attr.Output="StreamMP3"

#requires srcG711.c, rtp-rawaudio.c
#Ass.CSrcNode.?.Type="SrcG.711"
#Ass.CSrcNode.?.Name="G.711"
#Ass.CSrcNode.?.Attr.FramePool=32
#Ass.CSrcNode.?.Attr.Output="StreamG.711"

#Ass.CSrcNode.?.Type="EncRMJPEG"
#Ass.CSrcNode.?.Name="VIDEO.1"
#Ass.CSrcNode.?.Attr.FramePool=32
#Ass.CSrcNode.?.Attr.FrameRate=30
#Ass.CSrcNode.?.Attr.Output="StreamAVI"

#Ass.CSnkNode.?.Type="LivecastRTSP"
#Ass.CSnkNode.?.Name="/liveRTSP/rv"
#Ass.CSnkNode.?.Attr.Auth="  "
#Ass.CSnkNode.?.Attr.Inputs="StreamAVI,StreamAAC"

#liveRTSP/av1. This append some attributes in amn_system.ucos.conf
#max allowed viewer at the same time
Ass.SnkNode.6.Attr.Max_Instance=3
#FPS divider while N people are streaming.
Ass.SnkNode.6.Attr.Map_Instance="1,2,3,3,3,3"

#---- Sink Nodes for Projects ----------------------------------------------
#liveRTSP/av3
Ass.CSnkNode.Totals=0
Ass.CSnkNode.1.Type="LivecastRTSP"
Ass.CSnkNode.1.Name="/liveRTSP/av3"
Ass.CSnkNode.1.Attr.Auth="   "
Ass.CSnkNode.1.Attr.Inputs="StreamJPG,StreamPCM"
#max allowed viewer at the same time
Ass.CSnkNode.1.Attr.Max_Instance=3
#FPS divider while N people are streaming.
Ass.CSnkNode.1.Attr.Map_Instance="1,2,3,3,3,3"


Ass.CSnkNode.2.Type="LivecastRTSP"
Ass.CSnkNode.2.Name="/liveRTSP/av4"
Ass.CSnkNode.2.Attr.Auth="   "
Ass.CSnkNode.2.Attr.Inputs="Stream264,StreamPCM"


Ass.CSnkNode.3.Type="LivecastTUTK"
Ass.CSnkNode.3.Name="/liveTUTK/av1"
Ass.CSnkNode.3.Attr.Inputs="StreamJPG,StreamPCM"

Ass.CSnkNode.4.Type="LivecastTUTK"
Ass.CSnkNode.4.Name="/liveTUTK/av2"
Ass.CSnkNode.4.Attr.Inputs="Stream264,StreamPCM"

#Ass.CSnkNode.?.Type="TxTUTK"
#Ass.CSnkNode.?.Name="/txTUTK/av1/"
#Ass.CSnkNode.?.Attr.Inputs="StreamJPG,StreamPCM"

#Ass.CSnkNode.?.Type="TxHttp"
#Ass.CSnkNode.?.Name="/TxHttp/"
#Ass.CSnkNode.?.Attr.Inputs="StreamJPG"

#Append the followings if the project needs it. Don't format to change the number of the node
#The names of LivecastUDP and TxUDP type are not directly mapped from URL.
#Ass.CSnkNode.?.Type="LivecastUDP"
#Ass.CSnkNode.?.Name="/liveUDP/av1"
#Ass.CSnkNode.?.Attr.Inputs="StreamJPG,StreamG.711"

#Ass.CSnkNode.?.Type="TxUDP"
#Ass.CSnkNode.?.Name="/txUDP/av1"
#Ass.CSnkNode.?.Attr.Inputs="StreamJPG,StreamG.711"

#Ass.CSnkNode.?.Type="LivecastRTSP"
#Ass.CSnkNode.?.Name="/liveRTSP/a1"
#Ass.CSnkNode.?.Attr.Auth="  "
#Ass.CSnkNode.?.Attr.Inputs="StreamAAC"

#Ass.CSnkNode.?.Type="TxRTSP"
#Ass.CSnkNode.?.Name="/txRTSP/v"
#Ass.CSnkNode.?.Attr.Auth="   "
#Ass.CSnkNode.?.Attr.Inputs="StreamJPG"

#report RTSP status and possibly adjust stream every 100 frames
Camera.Preview.RTSP.tran=100

# Add items before the line