当前位置:网站首页>Recording a summary of frequently asked questions
Recording a summary of frequently asked questions
2022-06-24 03:35:00 【User 8950570】
How to record a single stream ?
- The console is configured as Global automatic recording , Each single stream in the room will be automatically recorded when streaming , For details, please refer to Global automatic recording .
- The console is configured as Specify user recording , The stream to be recorded is set when entering the room TRTCParams Medium userDefineRecordId Parameters are OK , For details, please refer to Specify user recording (SDK API).
- If you do not want global automatic recording , At the same time, the platform does not support SDK API, It can be broadcast live through the cloud Live recording Make a separate recording .
How to record mixed stream ?
- If configured Global automatic recording , Mixed stream will also be recorded automatically .
- If configured Specify user recording , And use the server REST API Trigger mixed flow , Specify parameters in the mixed stream interface OutputParams.RecordId, You can start mixed stream recording , For details, please refer to Mixed flow parameters OutputParams.
- If configured Specify user recording , And use the client SDK API Trigger mixed flow , The anchor set up when he entered the room TRTCParams Medium userDefineRecordId Parameter mixed stream will be recorded , For details, please refer to Specify user recording (SDK API).
When does the recording begin ?
- A single stream pushes the stream for a few seconds ( Network latency and keyframe waiting ) Start recording after .
- Mixed flow is going on for a few seconds ( Network latency and keyframe waiting ) Start recording after .
When will the recording end ?
- The recording of a single stream ends after the stream is cut off , If the continuation time is set , Recording ended after disconnection continuation timeout .
- If you call the client SDK setMixTranscodingConfig() Triggered mixed flow , When the host stream exits or is called again setMixTranscodingConfig() And set the parameter to null End of time .
- If you call the server REST API StartMCUMixTranscode Triggered mixed flow , Automatically stop after all users check out , Or call halfway StopMCUMixTranscode Manual stop .
When do the recording files and callbacks occur ?
- Recording complete 5 Minutes later, the recorded file will be transferred to the cloud on demand platform and a callback will be triggered .
- If the continuation time is set , You need to superimpose the continuation timeout time on the above waiting time . Set the continuation time , The intermediate cut-off recording will not end , There will be no recording files or callbacks .
- MP4、FLV and AAC The type has the maximum duration of a single file ( The console can be configured ) Limit , When the maximum duration is exceeded, a recording file and a callback will be generated , Then continue to generate a new recording file .
How to get the recording file ?
- You can manually find and play on demand through the on-demand console REST API lookup , For details, please refer to Find the recording file .
- You can get the download address of the recording file in time through callback , For details, please refer to Receive recorded files .
The recording file did not generate a check
- The call is not established normally or the upstream streaming time is too short ( Suggest streaming 30 More than seconds ) Recording files may not be generated , You can check whether the data in the above line is normal through the dashboard .
- If configured Specify user recording , When entering the room TRTCParams Medium userDefineRecordId No settings , The single stream will not be recorded .
- If configured Specify user recording , And use the server REST API Trigger mixed flow , No parameters are specified in the mixed stream interface OutputParams.RecordId, Mixed stream will not record .
- If configured Specify user recording , And use the client SDK API Trigger mixed flow , The anchor is not set userDefineRecordId, Mixed stream will not record .
The recording callback did not receive the troubleshooting
- First, check whether the recording file is generated through the console , If not generated , Preliminary troubleshooting can be carried out according to the previous method . File search can refer to Find the recording file .
- If a recording file is generated but no callback is received , You can check whether the callback has been configured correctly . Callback configuration reference Receive recorded files .
- If the callback is configured correctly , You can check whether the server can handle the callback normally , Such as through curl Simulate and test whether the callback request can be processed normally .
Why are so many recording files generated ?
- If the Global automatic recording , Every stream in the room will be recorded automatically .
- If the continuation time is not configured , A new recording file will be generated each time the stream is cut off and pushed again .
- MP4、FLV and AAC Type has a single file maximum duration limit , When the maximum duration is exceeded, a recording file and a callback will be generated , Then continue to generate a new recording file .
- If the room triggers mixed flow for many times , Multiple mixed stream recording files may be generated .
边栏推荐
- ClickHouse Buffer
- Disk partition extension using graphical interface and PowerShell code
- Troubleshooting and resolution of errors in easycvr calling batch deletion interface
- Several key tools for cloud native implementation
- 浅谈游戏安全 (一)
- On Sunday, I rolled up the uni app "uview excellent UI framework"
- web渗透测试----5、暴力破解漏洞--(3)FTP密码破解
- [see you] on October 24, we met at Tencent Binhai building
- What is elastic scaling in cloud computing? What are the main applications of elastic scaling in cloud computing?
- Velocitytracker use
猜你喜欢

618大促:手机品牌“神仙打架”,高端市场“谁主沉浮”?

在pycharm中pytorch的安装

Community pycharm installation visual database

老弹出explorer.exe遇到问题已停止工作,怎么办?

On Sunday, I rolled up the uni app "uview excellent UI framework"

QT creator tips

Sorting out of key vulnerabilities identified by CMS in the peripheral management of red team (I)

Get to know MySQL database

【代码随想录-动态规划】T392.判断子序列

元气森林推“有矿”,农夫山泉们跟着“卷”?
随机推荐
What is the edge calculator force? What about the edge calculator?
web渗透测试----5、暴力破解漏洞--(7)MYSQL密码破解
Use lightweight application server to automatically download and upload to onedrive
How to install CentOS 6.5 PHP extension
Process kill problem
NLP task summary introduction and understanding
Interpreting Tencent cloud product experience through user experience elements
getLocationInWindow源码
What is elastic scaling in cloud computing? What are the main applications of elastic scaling in cloud computing?
The medical technology giant was blackmailed and Microsoft announced 74 security vulnerabilities | global network security hotspot
Ligature in font design
Using RDM (Remote Desktop Manager) to import CSV batch remote
Tencent cloud CIF engineering effectiveness summit was successfully opened, and coding released a series of new products
Does the user need a code signing certificate? What is the use of a code signing certificate
What if the computer audio and video engine is abnormal? What are the causes of abnormal computer audio and video engine?
web渗透测试----5、暴力破解漏洞--(2)SNMP密码破解
How does cloud computing achieve elastic scaling? What are the characteristics of elasticity?
A Tencent interview question
Case analysis | interpret the truth that multi branch enterprises choose sd-wan network reconstruction in combination with real cases
LeetCode 129. Find the sum of numbers from root node to leaf node