Profile

Cover photo
Muaz Khan
Works at WebRTC
Attended Punjab University, Pakistan
Lives in Punjab, Pakistan
1,094 followers|377,800 views
AboutPosts

Stream

Muaz Khan

Shared publicly  - 
 
Awesome & Useful!
 
As you may already know, Content Settings allow you to customize Chrome's behavior on a per-site basis instead of globally. Good news is that the chrome.contentSettings Extension API features now more content settings in Dev Channel such as geolocation, fullscreen, mouse cursor, microphone, camera, unsandboxed plug-in access and automatic downloads.

Read the developer documentation¹ to learn how to retrieves fullscreen user setting or always allow camera access to specific websites.

¹ https://developer.chrome.com/extensions/contentSettings

Source: https://codereview.chromium.org/933653002
5 comments on original post
1
1
Abdullah Saqib's profile photo
Add a comment...

Muaz Khan

Shared publicly  - 
 
 
The Chrome WebRTC team has gotten new team members over the summer. And we are quite excited about it. But... we need more to deliver everything we have planned.

If you have an interest in RTC, signal processing, web or mobile and or  testing... and want to be part of a team that is defining the future of how people will communicate, please apply using these links!

Stockholm: https://www.google.com/about/careers/search#!t=jo&jid=48415001& 
Kirkland/Seattle: https://www.google.com/about/careers/search#!t=jo&jid=34154&
1 comment on original post
1
‫محم د‬‎'s profile photoTom Ashley's profile photoMuaz Khan's profile photo
5 comments
 
Remote audio processing isn't working in Chrome: https://www.webrtc-experiment.com/demos/remote-stream-recording.html

Firefox is supporting it, but it isn't useful out of MediaRecorder API.

Firefox's implementation is also useless because it can't be used as APM input sources for RTCPeerConnection API i.e. we can't use mozCaptureStreamUntilEnded or WebAudio API as input sources for RTCPeerConnection API.

Regarding data channels, MediaSource API or WebAudio buffers can be synced using data streaming but we can't using WebRTC data channels to share LIVE media.

Chrome claimed to bring remote-stream processing support in last quarter 2014 but I still can't see any progress.

You wrote that, "...remote audio processing is working in Chrome. I've seen many webrtc examples working in both browsers...." --- Can you share a demo-link that is working for you?
Add a comment...

Muaz Khan

Shared publicly  - 
 
I'll be using it :)
 
Object.observe() is now in Chrome stable! Observe objects & be notified of changes with ease

http://www.html5rocks.com/en/tutorials/es7/observe/
5 comments on original post
1
Add a comment...

Muaz Khan

Shared publicly  - 
 
 
Amazing VP9 Youtube numbers presented yesterday. 60% of Youtube videos played in Chrome use VP9. Buffer times down, HD playbacks up across the board. Overall bandwidth and storage space required  down.

That number of playbacks is immensely huge for a codec that is only 1 year old and in the near future, we will bring it to WebRTC. 

Open innovation in the codec space is important. It allows you to move fast and bring users benefits very quickly.

Thank you to the WebM team and to +Renganathan Ramamoorthy for presenting these amazing numbers. #VP9    #openinnovation  
4 comments on original post
3
Add a comment...

Muaz Khan

Shared publicly  - 
 
Dudiptsar Lake or Dudipat Lake is a lake encircled by snow clad peaks in Lulusar-Dudipatsar National Park. The lake lies in the extreme north of the Kaghan Valley, in the Mansehra District, Khyber Pakhtunkhwa province, in northern Pakistan.

#Pakistan   #XperiencePakistan   #naturalbeauty  
138 comments on original post
2
Add a comment...

Muaz Khan

Shared publicly  - 
 
 
Just added a simple blog post for WebRTC newbies and beginners

— WebRTC Tips & Tricks

It explains:

1) mute/unmute or hold/unhold
2) how to check peers connectivity or drop
3) microphone/webcam detection etc.

http://muaz-khan.blogspot.com/2014/05/webrtc-tips-tricks.html
View original post
4
Mookie Thayer's profile photoMuaz Khan's profile photoKP Singh's profile photo
4 comments
 
+Muaz Khan
Thanks a lot.
Add a comment...
Have them in circles
1,094 people
Just Eser's profile photo
Craig Sharkie's profile photo
Dark chris's profile photo
Frank M. Palinkas's profile photo
Mani kandan Dhandapani's profile photo
Roger Stringer's profile photo
Pak impex's profile photo
RedOne Reda's profile photo
khoirun nisack's profile photo

Muaz Khan

Shared publicly  - 
 
 
"Collaborative" Canvas Designer i.e. Canvas-Drawing tool added.

"Collaborative" Canvas Designer allows you draw bezier/quadratic curves, rectangles, circles and lines. You can also set strokes, back/forth colors and much more.

The speciality of this drawing-tool is that, it generates Canvas2D code for you; so simply draw and get the code and use it in your HTML5/Canvas2D applications!

Also, you can collaborate your drawing with up to 15 users; and everything is synced among all users. So, if you draw a line and your friend-A draws quadratic curve and friend-B draws rectangle then everything will be synced among all users!

Source code: https://github.com/muaz-khan/Canvas-Designer
Demo: https://www.webrtc-experiment.com/Canvas-Designer/

Gif demonstration: https://cdn.webrtc-experiment.com/images/Canvas-Designer.gif
Canvas-Designer - "Collaborative" Canvas Designer i.e. Canvas-Drawing tool allows you draw bezier/quadratic curves, rectangles, circles and lines. You can also set strokes, back/forth colors and much more. All drawings are synced among all connected users using WebRTC/RTCMultiConnection.
View original post
3
1
Muaz Khan's profile photoSanjay Ojha's profile photoBasith Rahman's profile photoHTML5 Canvas Tools/Experiments & Tips's profile photo
4 comments
 
Hi Muaz,I am using MediaStreamRecorder.js for audio recording.how to record audio in ulaw 8000 mono 64 kbps,Pls help me..
Add a comment...

Muaz Khan

Shared publicly  - 
 
 
Just added getScreenId.js: A library, allows you use single screen-capturing chrome extension for/within all domains!

Demo: https://www.webrtc-experiment.com/getScreenId/

Simply use getScreenId.js and enjoy screen capturing from any domain. You don't need to deploy chrome extension yourself. You can refer your users to install this chrome extension (https://chrome.google.com/webstore/detail/screen-capturing/ajhifddimkapgcifgcodmmfdlknahffk) instead. Also, getScreenId.js auto-fallbacks to command-line based screen capturing if chrome extension isn't installed or disabled. getScreenId.js throws clear exceptions which is helpful for end-user experiences.

https://github.com/muaz-khan/WebRTC-Experiment/tree/master/getScreenId.js

<script src="//cdn.WebRTC-Experiment.com/getScreenId.js"></script>

getScreenId(function (error, sourceId, screen_constraints) {
---- // error    == null || 'permission-denied' || 'not-installed' || 'installed-disabled' || 'not-chrome'
--  // sourceId == null || 'string'

-- navigator.webkitGetUserMedia(screen_constraints, onSuccess, onFailure);
});
View original post
2
1
Sotiris Karagiannis's profile photoJon Schull's profile photo
 
Congratulations Muaz. Great effort, your sharing culture could benefit thousands of developers. I am really impressed. Bravo !
Add a comment...

Muaz Khan

Shared publicly  - 
 
Chrome's content-script's limitation is bypassed using iframes :) This hack works; however screen capturing limitation still applies e.g. HTTPs domain; though you can use a command-line flag to support screen capturing over HTTP (--allow-http-screen-capture).
 
A major update has been happened in "Pluginfree Screen Sharing" demo!

You can use same/single Google AppStore screen capturing extension within all your domains. You don't need to deploy it yourself :)

https://github.com/muaz-khan/WebRTC-Experiment/tree/master/Pluginfree-Screen-Sharing

Simply copy HTML file and open in any domain; and you'll see that desktop-capturing extension still works  :)

Actually a trick has been used to make it work; an iframe has been loaded in background to get sourceId of the screen and that's it :)

Here is the "single" chrome extension: 

https://chrome.google.com/webstore/detail/screen-capturing/ajhifddimkapgcifgcodmmfdlknahffk
View original post
2
wenqing yu's profile photoMuaz Khan's profile photo
3 comments
 
Here is a demo for audio streaming along with screen: https://www.webrtc-experiment.com/RTCMultiConnection/OneWay-Screen-TwoWay-Audio.html
Add a comment...

Muaz Khan

Shared publicly  - 
 
navigator.getMediaDevices has been landed in chrome:canary, last week.

Obviously I'll prefer checking "kind:audiooutput" values so that I can prefer/suggest/use headphones for audio-output instead of speakers!

Input Devices:

audioinput Default
audioinput Microphone (ManyCam Virtual Microphone)
audioinput Microphone (Conexant SmartAudio HD)

Output Devices:
audiooutput Default
audiooutput Speakers (Conexant SmartAudio HD)

=> audioinput || audiooutput || videoinput || videooutput

Ref: https://code.google.com/p/chromium/issues/detail?id=338511

Older implementation: https://www.webrtc-experiment.com/demos/MediaStreamTrack.getSources.html
5
1
WebRTC Experiments's profile photo
Add a comment...

Muaz Khan

Shared publicly  - 
 
HTTPs was invented for secure browsing but chrome made it insecure with WebRTC/getUserMedia :)

Many users feel insecure on HTTPs because they don't know when webpage will capture camera or microphone.

To bring privacy over HTTPs, today RTCMultiConnection-v1.8 is updated to display custom permission-bar!

By default, it is displayed only for SSL domains however you can enable/disable it easily by setting single boolean:

connection.preventSSLAutoAllowed = false;

http://www.rtcmulticonnection.org/changes-log/#v1.8

RTCMultiConnection-v1.8 is also improved for media-errors to throw a little bit more useful exceptions.

You can check type of session; type of media constraints used; type of error; and the error message!

Simpy define "connection.onMediaError" in your HTML pages and help users understand what's going wrong capturing the media.

Last but not least, RTCMultiConnection is now 13 months old! It was a big journey (10 months working period including 3 months gap)
4
2
WebRTC Experiments's profile photoJürgen Copenhaguen-Bormuth's profile photo
Add a comment...

Muaz Khan

Shared publicly  - 
 
Sometimes it makes sense :)
 
A new Chrome OS App API is being created to control a PTZ Camera.

For info, PTZ is an abbreviation for pan, tilt, and zoom and reflects the movement options of a camera.

Source: https://codereview.chromium.org/234843006
9 comments on original post
3
Add a comment...
People
Have them in circles
1,094 people
Just Eser's profile photo
Craig Sharkie's profile photo
Dark chris's profile photo
Frank M. Palinkas's profile photo
Mani kandan Dhandapani's profile photo
Roger Stringer's profile photo
Pak impex's profile photo
RedOne Reda's profile photo
khoirun nisack's profile photo
Work
Occupation
WebRTC Developer!
Skills
WebRTC+++TELECOM+++MEDIA-PROCESSING_AND_RECORDING+++DOZENS
Employment
  • WebRTC
    Open-Sourced & Freelance Developer, 2012 - present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Punjab, Pakistan
Contact Information
Home
Email
Skype
muazkh
Address
Hazro, Punjab, Pakistan
Story
Tagline
I believe in the power of open-source!
Introduction

Open Source & Freelance developer for WebRTC project (http://webrtc.org/)

Primary interests: telecom, audio and video processing & recordings, media streaming, low-latency and high quality (RTP) packetized data transmission, firewall traversing through ICE and custom tunnels, and vice versa.

Programming languages: javascript, java, C++, C# and Python.

http://www.muazkhan.com/ —(Personal Site & Blog)
https://github.com/muaz-khan —(Experiments)
https://www.webrtc-experiment.com/ —(WebRTC)
https://github.com/muaz-khan/WebRTC-Experiment —(WebRTC)
http://www.recordrtc.org/ (RecordRTC.js)
http://www.rtcmulticonnection.org/ (RTCMultiConnection.js)
https://canvas-designer.appspot.com/ —(Experiments)
http://dashingquill.wordpress.com/ —(Blog)
https://sites.google.com/site/muazkh/ —(Blog)

http://google.com/+MuazKhan

Education
  • Punjab University, Pakistan
    BCS (Computer Science), 2011 - 2013
  • Punjab University, Pakistan
    ICS (Computer Science), 2009 - 2011
Basic Information
Birthday
March 10