text: #import <Foundation/Foundation.h>
  #import "FlutterWebRTCPlugin.h"
  
  @interface FlutterWebRTCPlugin (RTCMediaStream)
  
  -(void)getUserMedia:(NSDictionary *)constraints
               result:(FlutterResult)result;
  
  -(void)getDisplayMedia:(NSDictionary *)constraints
               result:(FlutterResult)result;
  
  - (void)getScreenShareMedia:(NSDictionary *)constrains
                       result:(FlutterResult)result;
  
  -(void)createLocalMediaStream:(FlutterResult)result;
  
  -(void)getSources:(FlutterResult)result;
  
  -(void)mediaStreamTrackHasTorch:(RTCMediaStreamTrack *)track
                           result:(FlutterResult) result;
  
  -(void)mediaStreamTrackSetTorch:(RTCMediaStreamTrack *)track
                            torch:(BOOL) torch
                           result:(FlutterResult) result;
  
  -(void)mediaStreamTrackSwitchCamera:(RTCMediaStreamTrack *)track
                               result:(FlutterResult) result;
  
  -(void)mediaStreamTrackCaptureFrame:(RTCMediaStreamTrack *)track
                               toPath:(NSString *) path
                               result:(FlutterResult) result;
  @end
  