| Index: talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| diff --git a/talk/app/webrtc/objc/public/RTCVideoRenderer.h b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| similarity index 77%
|
| copy from talk/app/webrtc/objc/public/RTCVideoRenderer.h
|
| copy to talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| index c837b1c5ac484e4a7e0569dbeb448fa7da2ac651..2f14e6dec0b40b77b1f6d03be0ef639387b4d0db 100644
|
| --- a/talk/app/webrtc/objc/public/RTCVideoRenderer.h
|
| +++ b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| @@ -1,6 +1,6 @@
|
| /*
|
| * libjingle
|
| - * Copyright 2013 Google Inc.
|
| + * Copyright 2015 Google Inc.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are met:
|
| @@ -26,18 +26,16 @@
|
| */
|
|
|
| #import <Foundation/Foundation.h>
|
| -#if TARGET_OS_IPHONE
|
| -#import <UIKit/UIKit.h>
|
| -#endif
|
|
|
| -@class RTCI420Frame;
|
| +@class RTCSessionDescription;
|
|
|
| -@protocol RTCVideoRenderer<NSObject>
|
| +@interface ARDSDPUtils : NSObject
|
|
|
| -// The size of the frame.
|
| -- (void)setSize:(CGSize)size;
|
| -
|
| -// The frame to be displayed.
|
| -- (void)renderFrame:(RTCI420Frame*)frame;
|
| +// Updates the original SDP description to instead prefer the specified video
|
| +// codec. We do this by placing the specified codec at the beginning of the
|
| +// codec list if it exists in the sdp.
|
| ++ (RTCSessionDescription *)
|
| + descriptionForDescription:(RTCSessionDescription *)description
|
| + preferredVideoCodec:(NSString *)codec;
|
|
|
| @end
|
|
|