sieuhuflit / live-tream-rtmp-server

Live stream using RTMP for React Native
83 stars 48 forks source link

mp4 context not found for custom #1

Closed RupamShaw closed 5 years ago

RupamShaw commented 5 years ago

Custom way to get mp4 file path in your readme when i added in node_modules/node_trans_session

inthis just above

   context.nodeEvent.emit(
        "getFilePath",
        this.conf.streamPath,
        ouPath,
        mp4FileName
      );

Logger.log( "[Transmuxing MP4] "....

it gives [ERROR] uncaughtException ReferenceError: context is not defined.

RupamShaw commented 5 years ago

resolved installed ffmpeg by homebrew now its streaming video.