Skip to content

Commit

Permalink
Merge branch 'dev/4.3.0' of ssh://github.com/AgoraIO-Extensions/Elect…
Browse files Browse the repository at this point in the history
…ron-SDK into dev/4.3.0
  • Loading branch information
guoxianzhe committed Dec 11, 2023
2 parents 32936b0 + 143a21a commit 53d8f34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ts/Renderer/IRendererManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ export abstract class IRendererManager {
channelId = '';
uid = mediaPlayerId;
break;
case undefined:
if (uid) {
sourceType = VideoSourceType.VideoSourceRemote;
}
break;
default:
channelId = '';
uid = 0;
Expand Down
4 changes: 2 additions & 2 deletions ts/Renderer/RendererCache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { VideoFrame } from '../Private/AgoraMediaBase';
import { RendererCacheContext, RendererContext } from '../Types';
import { AgoraEnv, logWarn } from '../Utils';
import { AgoraEnv, logDebug } from '../Utils';

import { IRenderer } from './IRenderer';

Expand Down Expand Up @@ -110,7 +110,7 @@ export class RendererCache {
isNewFrame = result.isNewFrame;
break;
case 2: // GET_VIDEO_FRAME_CACHE_RETURN_TYPE::NO_CACHE = 2
logWarn('No renderer cache, please enable cache first');
logDebug('No renderer cache, please enable cache first');
return;
}

Expand Down

0 comments on commit 53d8f34

Please sign in to comment.