Closed trapasso closed 1 year ago
Sorry but the semantic problem is due to the insertion index of the track, line 90:
// _track_map[media_track->GetId()] = media_track;
_track_map[stream->index] = media_track;
and it affects line 186:
// auto media_track = _track_map[packet->GetTrackId()];
auto media_track = _track_map[av_stream_index];
check if it comes back to you
There are no semantic errors in that code. However, the code was refactored due to lack of readability. :)
https://github.com/AirenSoft/OvenMediaEngine/compare/6231032b7256...d9316c73f9d8
The index error was present. However, it's definitely better this way. :) Tested ... OK.
Thank you
very thanks.