diff options
author | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-25 17:40:38 +0000 |
---|---|---|
committer | fischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-03-25 17:40:38 +0000 |
commit | 22e3e5da879b69d7be5736a67720ffd2a61d286a (patch) | |
tree | 28de05fb5fbeab9ce4992f04dd379e0eb028690f /examples | |
parent | bf64da011cfd8fc4c0243d7c52caa6db0d298bdd (diff) | |
download | talk-22e3e5da879b69d7be5736a67720ffd2a61d286a.tar.gz |
AppRTCDemo(iOS): allow rooms with no incoming audio.
Also fix a compile-time warning for a leftover unimplemented method
(RTCVideoRenderer:setTransform).
R=noahric@google.com
Review URL: https://webrtc-codereview.appspot.com/10629004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@5780 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ios/AppRTCDemo/APPRTCAppDelegate.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ios/AppRTCDemo/APPRTCAppDelegate.m b/examples/ios/AppRTCDemo/APPRTCAppDelegate.m index 8610477..8400778 100644 --- a/examples/ios/AppRTCDemo/APPRTCAppDelegate.m +++ b/examples/ios/AppRTCDemo/APPRTCAppDelegate.m @@ -77,8 +77,8 @@ addedStream:(RTCMediaStream*)stream { NSLog(@"PCO onAddStream."); dispatch_async(dispatch_get_main_queue(), ^(void) { - NSAssert([stream.audioTracks count] >= 1, - @"Expected at least 1 audio stream"); + NSAssert([stream.audioTracks count] <= 1, + @"Expected at most 1 audio stream"); NSAssert([stream.videoTracks count] <= 1, @"Expected at most 1 video stream"); if ([stream.videoTracks count] != 0) { |