Closed kage212 closed 2 years ago
@kage212
The cause of the problem is that you tried to record a track that did not exist. In conclusion, this is a situation that occurs when there is no track to be saved.
Origin Stream Info id(100), output(67ZyaYHkxY), SourceType(WebRTC), Created Time (Mon Jun 20 15:06:09 2022) Audio Track #1: Bypass(false) Bitrate(128.00Kb) codec(8, OPUS) samplerate(48.0K) format(none, 0) channel(stereo, 2) timebase(1/48000) Video Track #2: Bypass(true) Bitrate(96.90Kb) codec(1, H264) resolution(640x360) framerate(10.49fps) timebase(1/90000)
Tracks of the output stream(67ZyaYHkxY) can be identified as #1(Audio) and #2(Video). However, it was requested as 'tracks': [100, 200] }
in startRecord.
To solve the problem, remove the tracks
tag and try to record the all track, or put the correct track id in the tracks
.
Thanks
You're right! Thanks
If your issue is resolved, please close this issue.
Hello OME team!
Describe the bug When I try to record a WebRTC stream its does not start.
To Reproduce Steps to reproduce the behavior:
``
Then a POST request like this 'domain/v1/vhosts/default/apps/app:startRecord'. { 'id': key, 'stream': { 'name': uid, 'tracks': [100, 200] }, 'filePath':
${key}
+ '/file_${Sequence}.ts', 'infoPath':${key}/file.xml
, 'interval': 60000, 'segmentationRule': 'continuity', }Using OvenLiveKit to stream
See error
Expected behavior A recorded stream.
Logs log.txt
Important parts: [2022-06-20 15:07:36.018] W [SPRtcSig-T3334:13] Transcoder | transcoder_stream.cpp:425 | OPUS codec only supports 48000Hz samplerate. Do not create bypass track [2022-06-20 15:07:36.018] W [SPRtcSig-T3334:13] Transcoder | transcoder_stream.cpp:545 | Encoding codec set is not a audio codec, track_id(-807287834) [2022-06-20 15:07:36.554] I [OutboundWorker:36] Publisher | stream.cpp:202 | WebRTC Publisher Application application has started [67ZyaYHkxY(3843573246)] stream (MSID : 0) [2022-06-20 15:07:36.555] I [OutboundWorker:36] LLHLS Publisher | llhls_stream.cpp:81 | LLHlsStream(#default#app/67ZyaYHkxY) - Ignore unsupported codec(OPUS) [2022-06-20 15:07:36.557] E [OutboundWorker:36] FFmpeg | third_parties.cpp:111 | [AVFormatContext: 0x7fc6f80057c0] No streams to mux were specified [2022-06-20 15:07:36.557] I [OutboundWorker:36] Publisher | stream.cpp:202 | FilePublisher Application application has started [67ZyaYHkxY(3843573246)] stream (MSID : 0) [2022-06-20 15:07:36.557] E [OutboundWorker:36] FILE | file_session.cpp:47 | Failed to start recording. id(100)
Server (please complete the following information):
Thanks for your time