-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79b9dd7
commit e548acf
Showing
7 changed files
with
63 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export interface HtmlMapMarkerOptions { | ||
/** | ||
* marker position | ||
*/ | ||
latLng: google.maps.LatLng, | ||
/** | ||
* marker content | ||
*/ | ||
html: string, | ||
/** | ||
* map instance | ||
*/ | ||
map: google.maps.Map, | ||
/** | ||
* marker width | ||
*/ | ||
width: number, | ||
/** | ||
* marker height | ||
*/ | ||
height: number | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,3 @@ | ||
export interface WebRTCStreamerOptions { | ||
/** | ||
* id of the video element tag | ||
*/ | ||
element: HTMLVideoElement | string; | ||
/** | ||
* url of webrtc-streamer (default is current location) | ||
*/ | ||
url: string; | ||
} | ||
|
||
export type MediaConstraints = { | ||
offerToReceiveAudio: boolean; | ||
offerToReceiveVideo: boolean; | ||
} | ||
|
||
export interface HtmlMapMarkerOptions { | ||
/** | ||
* marker position | ||
*/ | ||
latLng: google.maps.LatLng, | ||
/** | ||
* marker content | ||
*/ | ||
html: string, | ||
/** | ||
* map instance | ||
*/ | ||
map: google.maps.Map, | ||
/** | ||
* marker width | ||
*/ | ||
width: number, | ||
/** | ||
* marker height | ||
*/ | ||
height: number | ||
} | ||
|
||
export interface JanusVideoRoomOptions { | ||
/** | ||
* url of Janus Gateway | ||
*/ | ||
janusUrl: string; | ||
/** | ||
* url of webrtc-streamer (default is current location) | ||
*/ | ||
url: string; | ||
/** | ||
* event bus | ||
*/ | ||
eventBus?: any; | ||
} | ||
|
||
export interface JanusVideoRoomAdvancedUrl { | ||
video?: string, | ||
audio?: string, | ||
options?: string | ||
} | ||
export * from './webRTCStreamer' | ||
export * from './htmlMapMarker' | ||
export * from './janusVideoRoom' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export interface JanusVideoRoomOptions { | ||
/** | ||
* url of Janus Gateway | ||
*/ | ||
janusUrl: string; | ||
/** | ||
* url of webrtc-streamer (default is current location) | ||
*/ | ||
url: string; | ||
/** | ||
* event bus | ||
*/ | ||
eventBus?: any; | ||
} | ||
|
||
export interface JanusVideoRoomAdvancedUrl { | ||
video?: string, | ||
audio?: string, | ||
options?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export interface WebRTCStreamerOptions { | ||
/** | ||
* id of the video element tag | ||
*/ | ||
element: HTMLVideoElement | string; | ||
/** | ||
* url of webrtc-streamer (default is current location) | ||
*/ | ||
url: string; | ||
} | ||
|
||
export type MediaConstraints = { | ||
offerToReceiveAudio: boolean; | ||
offerToReceiveVideo: boolean; | ||
} |