OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2013 Google Inc. | 3 * Copyright 2013 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 19 matching lines...) Expand all Loading... |
30 #endif | 30 #endif |
31 | 31 |
32 #import "RTCMediaSource+Internal.h" | 32 #import "RTCMediaSource+Internal.h" |
33 #import "RTCVideoSource+Internal.h" | 33 #import "RTCVideoSource+Internal.h" |
34 | 34 |
35 @implementation RTCVideoSource | 35 @implementation RTCVideoSource |
36 @end | 36 @end |
37 | 37 |
38 @implementation RTCVideoSource (Internal) | 38 @implementation RTCVideoSource (Internal) |
39 | 39 |
40 - (rtc::scoped_refptr<webrtc::VideoSourceInterface>)videoSource { | 40 - (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)videoSource { |
41 return static_cast<webrtc::VideoSourceInterface*>(self.mediaSource.get()); | 41 return static_cast<webrtc::VideoTrackSourceInterface *>(self.mediaSource.get()
); |
42 } | 42 } |
43 | 43 |
44 @end | 44 @end |
OLD | NEW |