TTVideoEnginePreloaderVidItem.vidItemWithVideoSource constructor

TTVideoEnginePreloaderVidItem.vidItemWithVideoSource(
  1. TTVideoEngineVidSource? source,
  2. int preloadSize
)

Implementation

TTVideoEnginePreloaderVidItem.vidItemWithVideoSource(TTVideoEngineVidSource? source, this.preloadSize) {
  vid = source?.vid;
  playAuthToken = source?.playAuthToken;
  resolution = source?.resolution;
  codecType = source?.encodeType;
}